mariadb/client
unknown 85213f6235 Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name>
value" error even though the value was correct): a C function in my_getopt.c
was taking bool* in parameter and was called from C++ sql_plugin.cc,
but on some Mac OS X sizeof(bool) is 1 in C and 4 in C++, giving funny
mismatches. Fixed, all other occurences of bool in C are removed, future
ones are blocked by a "C-bool-catcher" in my_global.h (use my_bool).


client/mysqldump.c:
  my_bool for C
client/mysqltest.c:
  my_bool for C
extra/replace.c:
  my_bool for C
include/my_getopt.h:
  my_bool for C
include/my_global.h:
  Prevent people from using bool in C, it causes real bugs.
include/my_sys.h:
  my_bool for C
include/my_time.h:
  my_bool for C
include/thr_lock.h:
  my_bool for C
libmysql/libmysql.c:
  my_bool for C
mysys/charset.c:
  my_bool for C
mysys/my_getopt.c:
  my_bool for C
mysys/queues.c:
  my_bool for C
mysys/thr_lock.c:
  my_bool for C
regex/reginit.c:
  my_bool for C
sql/set_var.cc:
  C functions use my_bool so we must use my_bool too.
sql/sql_plugin.cc:
  C functions use my_bool so we must use my_bool too.
  This fixes a real observed bug of Maria, because on some Mac OS X,
  sizeof(bool) is 1 in C and 4 in C++, so the bool* does wrong.
  Removing useless line.
storage/heap/hp_update.c:
  my_bool for C
storage/myisam/mi_check.c:
  my_bool for C
storage/myisam/mi_dynrec.c:
  my_bool for C
storage/myisam/mi_search.c:
  my_bool for C
storage/myisam/mi_update.c:
  my_bool for C
storage/myisam/mi_write.c:
  my_bool for C
storage/myisam/myisamdef.h:
  my_bool for C
storage/myisam/myisamlog.c:
  my_bool for C
storage/myisam/myisampack.c:
  my_bool for C
tests/mysql_client_test.c:
  my_bool for C
unittest/mysys/bitmap-t.c:
  my_bool for C
vio/viosslfactories.c:
  my_bool for C
2008-02-18 23:29:39 +01:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
client_priv.h Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1 2008-01-31 17:46:50 +01:00
CMakeLists.txt Bug#29903 The CMake build method does not produce the embedded library. 2007-08-03 14:43:12 -04:00
completion_hash.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
completion_hash.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
echo.c echo.c: 2007-03-20 18:31:49 +01:00
get_password.c Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
Makefile.am Manual merge: Makefile lines must start with tab, not blank. 2007-05-02 14:16:21 +02:00
my_readline.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
mysql.cc Merge kaamos.(none):/data/src/mysql-5.1 2008-01-10 20:44:23 +03:00
mysql_upgrade.c Merge alf.(none):/src/bug28774/my50-bug28774 2007-10-08 22:32:26 -04:00
mysqladmin.cc Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-09-15 05:12:02 +02:00
mysqlbinlog.cc Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge 2008-02-01 20:28:30 +01:00
mysqlcheck.c Patch contributed by Jocelyn Fournier. CLA received 2007-02-27. 2008-01-23 11:37:46 -05:00
mysqldump.c Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> 2008-02-18 23:29:39 +01:00
mysqlimport.c Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-09-15 05:12:02 +02:00
mysqlshow.c Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint 2007-09-15 05:12:02 +02:00
mysqlslap.c Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch 2007-12-20 12:32:16 -08:00
mysqltest.c Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> 2008-02-18 23:29:39 +01:00
readline.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
sql_string.cc Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
sql_string.h Fixed compiler warnings 2007-02-23 13:13:55 +02:00