- 01 Apr, 2005 1 commit
-
-
unknown authored
CAST() now produces warnings when casting a wrong INTEGER or CHAR values. This also applies to implicite string to number casts. (Bug #5912) ALTER TABLE now fails in STRICT mode if it generates warnings. Inserting a zero date in a DATE, DATETIME or TIMESTAMP column during TRADITIONAL mode now produces an error. (Bug #5933) mysql-test/r/bigint.result: New warning added mysql-test/r/cast.result: Added testing of wrong CAST's of strings to numbers and numbers to strings mysql-test/r/create.result: Added test for wrong default values (#5902) mysql-test/r/func_if.result: Changed tests to produce less warnings mysql-test/r/func_misc.result: New warning mysql-test/r/func_str.result: Added missing drop table Changed test to produce less warnings New warnings mysql-test/r/ndb_index_unique.result: Removed wrong default usage mysql-test/r/ps_1general.result: Changed tests to produce less warnings mysql-test/r/row.result: New warnings mysql-test/r/rpl_session_var.result: Changed tests to produce less warnings mysql-test/r/strict.result: New tests for CAST() and zero date handling mysql-test/r/subselect.result: Changed tests to produce less warnings mysql-test/r/type_ranges.result: Changed tests to produce less warnings mysql-test/t/cast.test: Added testing of wrong CAST's of strings to numbers and numbers to strings mysql-test/t/create.test: Added test for wrong default values (#5902) mysql-test/t/func_if.test: Changed tests to produce less warnings mysql-test/t/func_str.test: Added missing drop table Changed test to produce less warnings New warnings mysql-test/t/ndb_index_unique.test: Removed wrong default usage mysql-test/t/ps_1general.test: Changed tests to produce less warnings mysql-test/t/rpl_session_var.test: Changed tests to produce less warnings mysql-test/t/strict.test: New tests for CAST() and zero date handling mysql-test/t/subselect.test: Changed tests to produce less warnings mysql-test/t/type_ranges.test: Changed tests to produce less warnings sql/Makefile.am: Added new include file sql/field.cc: Added warnings for zero dates for DATE, DATETIME and TIMESTAMP Moved Field_blob::max_length() to a more appropriate position Changed type for 'level' in set_warning() to avoid casts sql/field.h: Changed type for 'level' in set_warning() to avoid casts sql/field_conv.cc: Copy date and datetime fields through string in 'traditional' mode to detect zero dates sql/item.cc: Removed compiler warnings Give warnings for wrong CAST of strings -> number sql/item.h: Moved Item_string::val_real() and ::val_int() to item.cc sql/item_row.cc: Better detection of null values (which doesn't produce warnings) sql/item_sum.cc: Better detection of null values (which doesn't produce warnings) sql/item_timefunc.cc: Give warnings for wrong CAST of number -> string sql/my_decimal.cc: Fixed typo in comment sql/mysql_priv.h: Removed prototype for static function Moved defines for error handling to sql_error.h (to be able to use these in field.h) sql/mysqld.cc: Simplify code sql/sql_class.h: Moved to sql_error.h sql/sql_load.cc: Removed wrong cast sql/sql_parse.cc: Fixed wrong printf() sql/sql_table.cc: Made mysql_prepare_table() static Changed references to pointers to make code more readable ALTER TABLE now aborts if one gets warnings in STRICT mode sql/time.cc: Fixed possible wrong call sql/unireg.cc: Removed one call to current_thd Give errors if one uses a wrong DEFAULT value
-
- 30 Mar, 2005 22 commits
-
-
unknown authored
into mysql.com:/home/my/mysql-5.0
-
unknown authored
Fixed that datetime gives warning for zero dates in traditional mode mysql-test/r/strict.result: Enabled more tests of STR_TO_DATE() mysql-test/t/strict.test: Enabled more tests of STR_TO_DATE() sql/field.cc: Fixed that datetime gives warning for zero dates in traditional mode sql/log_event.h: Fix wrong ifdef from last push
-
unknown authored
-
unknown authored
into mysql.com:/home/my/mysql-5.0 sql/log_event.cc: Auto merged sql/share/errmsg.txt: Auto merged
-
unknown authored
Small fixes while doing review of new pushed code More test cases for decimal mysql-test/r/date_formats.result: Warnings added for STR_TO_DATE() mysql-test/r/ps_1general.result: Better description for BLACKHOLE mysql-test/r/strict.result: Added tests for STR_TO_DATE mysql-test/r/type_decimal.result: Test to test ranges of DECIMAL mysql-test/t/date_formats.test: More tests mysql-test/t/strict.test: Added tests for STR_TO_DATE mysql-test/t/type_decimal.test: Test to test ranges of DECIMAL sql/field.cc: Simple optimization sql/handler.cc: Better description for BLACKHOLE sql/item_timefunc.cc: Give warnings if wrong date/time/datetime argument for STR_TO_DATE sql/log_event.cc: Indentation fixes sql/log_event.h: #ifdef-ed not used code sql/share/errmsg.txt: New error message sql/sql_show.cc: Ensure that we do a proper restore in case of error
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-5.0 include/violite.h: Auto merged mysql-test/r/ps_7ndb.result: Auto merged sql/sql_parse.cc: Auto merged
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 BitKeeper/etc/logging_ok: auto-union Build-tools/Do-compile: Auto merged
-
unknown authored
include/violite.h: Auto merged mysql-test/r/ps_7ndb.result: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Manual merge
-
unknown authored
BitKeeper/etc/logging_ok: auto-union include/violite.h: Auto merged mysql-test/r/ps_7ndb.result: Auto merged sql/sql_parse.cc: Auto merged
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-4.1
-
unknown authored
sql/sql_select.cc: A fix (bug #9401: type_timestamp segfaults mysqld). 1. create_tmp_field_from_field() is modified to take 'Item_ref *item' and 'char *name' instead of 'bool modify_item' and 'Item *item'. 2. For Item_sum_min/max we should never modify item, so NULL is passed as item to the create_tmp_field_from_field().
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1
-
unknown authored
BitKeeper/deleted/.del-ctype_cp1251-master.opt~68be9a59ec8ee106: Delete: mysql-test/t/ctype_cp1251-master.opt
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
-
unknown authored
-
unknown authored
BitKeeper/etc/logging_ok: auto-union Build-tools/Do-compile: Merge from 4.0 and 4.1
-
unknown authored
BitKeeper/etc/logging_ok: auto-union Build-tools/Do-compile: Merge from 4.0
-
unknown authored
Added option --with-big-tables Build-tools/Do-compile: Added option --with-big-tables BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile Build-tools/Do-compile: Auto merged
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
-
unknown authored
Added option --with-blackhole Build-tools/Do-compile: Added option --with-blackhole
-
- 29 Mar, 2005 17 commits
-
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
-
unknown authored
-
unknown authored
Argh!
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
Using it comes merged from 4.1. config/ac-macros/misc.m4: Implement the new '--with-big-tables' flag to "configure".
-
unknown authored
Incomplete, as the macro body must ne in the new file 'config/ac-macros/misc.m4' which will follow in a separate changeset. BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003: Merge the 4.0 and 4.1 change of the new '--with-big-tables' flag. configure.in: Call the new macro to evaluate the '--with-big-tables' flag. mysql-test/mysql-test-run.sh: No change in 5.0, as 4.1 was a backport (Martin). mysql-test/r/ps_7ndb.result: Merge from 4.1 (Martin).
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1 mysql-test/r/ps_7ndb.result: Auto merged
-
unknown authored
configure.in: Auto merged acinclude.m4: SCCS merged
-
unknown authored
Updates to be in sync with 'mysql_create_system_tables' mysql-test/lib/init_db.sql: Updates to be in sync with 'mysql_create_system_tables'
-
unknown authored
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
-
unknown authored
into production.mysql.com:/nfstmp1/guilhem/mysql-5.0-prod
-
unknown authored
making Q_CATALOG_CODE be understood by 5.0.4 slave, so that 5.0.3->5.0.4 repl can work (but 5.0.4->5.0.3 won't).
-