pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases
Module Name: pkgsrc
Committed By: adam
Date: Sat May 7 04:03:08 UTC 2011
Modified Files:
pkgsrc/databases/mysql55-client: Makefile.common distinfo
pkgsrc/databases/mysql55-server: PLIST
Added Files:
pkgsrc/databases/mysql55-client/patches: patch-include_my_compare.h
Removed Files:
pkgsrc/databases/mysql55-client/patches: patch-include_my_handler.h
Log Message:
Changes 5.5.12:
* Fixed bugs: Illegal mix of collations
* Problem: comparison of a DATETIME sp variable and NOW() led to Illegal mix of
collations error when character_set_connection=utf8.
* Error happened in Arg_comparator::set_compare_func(), because the first
argument was errouneously converted to utf8, while the second argument was
not.
* Fix: separate agg_arg_charsets_for_comparison() into two functions:
- agg_arg_charsets_for_comparison() - for pure comparison, when we don't need
to return any string result and therefore don't need to convert arguments
to @@character_set_connection:
SELECT a = b;
- agg_arg_charsets_for_string_results_with_comparison() - when we need to
return a string result, but we also need to do comparison internally:
SELECT REPLACE(a,b,c)
If all arguments are numbers:
SELECT REPLACE(123,2,3) -> 133
we convert arguments to @@character_set_connection.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/mysql55-client/Makefile.common
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/mysql55-client/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/mysql55-client/patches/patch-include_my_compare.h
cvs rdiff -u -r1.1.1.1 -r0 \
pkgsrc/databases/mysql55-client/patches/patch-include_my_handler.h
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/mysql55-server/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index