mariadb/include
unknown 2a49121590 Strict mode & better warnings
Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
Added checking of date/datetime fields.
If strict mode, give error if we have not given value to field without a default value (for INSERT)


client/mysqltest.c:
  Added --exit as an option to abort a test in a middle (good for debugging)
include/my_time.h:
  Added flags to allow checking of dates in strict mode
include/mysql_com.h:
  Added flag to check if field has a default value or not
include/mysqld_error.h:
  New error messages for strict mode
include/sql_state.h:
  Fixed SQL states (for strict mode tests)
mysql-test/r/auto_increment.result:
  Updated error messages
mysql-test/r/func_sapdb.result:
  Added test for ALLOW_INVALID_DATES
mysql-test/r/func_str.result:
  Updated error messages
mysql-test/r/func_time.result:
  Updated error messages
mysql-test/r/insert.result:
  Updated error messages
mysql-test/r/loaddata.result:
  Updated error messages
mysql-test/r/select.result:
  Updated error messages
mysql-test/r/sp.result:
  Updated error messages
mysql-test/r/timezone2.result:
  Updated error messages
mysql-test/r/type_datetime.result:
  Updated error messages
mysql-test/r/type_decimal.result:
  Updated error messages
mysql-test/r/type_float.result:
  Updated error messages
mysql-test/r/type_ranges.result:
  Updated error messages
mysql-test/r/type_time.result:
  Updated error messages
mysql-test/r/type_uint.result:
  Updated error messages
mysql-test/r/warnings.result:
  Updated error messages
mysql-test/t/func_sapdb.test:
  Aded test
sql-common/my_time.c:
  Added checking of dates
sql/field.cc:
  Better error messages
  Optimization of warning handling (by introducing of check_int())
  Changed to use my_strtoll10()
sql/field.h:
  Added check_int()
sql/item_func.cc:
  Warnings when dividing by NULL
sql/item_func.h:
  Warnings when dividing by NULL
sql/item_timefunc.cc:
  Testing of date/datetime
  Use macros instead of constants
sql/mysql_priv.h:
  New modes (part of strict mode)
sql/mysqld.cc:
  New modes (part of strict mode)
sql/opt_range.cc:
  Simple optimizations
sql/protocol.cc:
  Add note/warning level to find_handler()
sql/set_var.cc:
  Added mode 'traditional'
sql/share/czech/errmsg.txt:
  New error messages for strict mode
sql/share/danish/errmsg.txt:
  New error messages for strict mode
sql/share/dutch/errmsg.txt:
  New error messages for strict mode
sql/share/english/errmsg.txt:
  New error messages for strict mode
sql/share/estonian/errmsg.txt:
  New error messages for strict mode
sql/share/french/errmsg.txt:
  New error messages for strict mode
sql/share/german/errmsg.txt:
  New error messages for strict mode
sql/share/greek/errmsg.txt:
  New error messages for strict mode
sql/share/hungarian/errmsg.txt:
  New error messages for strict mode
sql/share/italian/errmsg.txt:
  New error messages for strict mode
sql/share/japanese/errmsg.txt:
  New error messages for strict mode
sql/share/korean/errmsg.txt:
  New error messages for strict mode
sql/share/norwegian-ny/errmsg.txt:
  New error messages for strict mode
sql/share/norwegian/errmsg.txt:
  New error messages for strict mode
sql/share/polish/errmsg.txt:
  New error messages for strict mode
sql/share/portuguese/errmsg.txt:
  New error messages for strict mode
sql/share/romanian/errmsg.txt:
  New error messages for strict mode
sql/share/russian/errmsg.txt:
  New error messages for strict mode
sql/share/serbian/errmsg.txt:
  New error messages for strict mode
sql/share/slovak/errmsg.txt:
  New error messages for strict mode
sql/share/spanish/errmsg.txt:
  New error messages for strict mode
sql/share/swedish/errmsg.txt:
  New error messages for strict mode
sql/share/ukrainian/errmsg.txt:
  New error messages for strict mode
sql/sp_rcontext.cc:
  Add note/warning level to find_handler()
sql/sp_rcontext.h:
  Add note/warning level to find_handler()
sql/sql_base.cc:
  Fix bug for detecting crashed table
sql/sql_class.cc:
  Variables for strct mode
sql/sql_class.h:
  Variables for strct mode
sql/sql_error.cc:
  In strict mode, convert warnings to errors
sql/sql_insert.cc:
  Strict mode
  If strict mode, give error if we have not given value to field without a default value
sql/sql_load.cc:
  Strict mode
sql/sql_parse.cc:
  Strict mode.
  Add flag to field if it doesn't have a default value
sql/sql_select.cc:
  Added comment
  Prepare for upper level handling of table->status
sql/sql_union.cc:
  Added THD to write_record()
sql/sql_update.cc:
  Strict mode
sql/table.cc:
  Handling of default values
sql/time.cc:
  Checking of dates
2004-09-28 20:08:00 +03:00
..
.cvsignore
config-netware.h Always enable HAVE_COMPRESS on netware 2004-05-28 01:02:20 +03:00
config-os2.h Implemented UTC_TIME, UTC_DATE and UTC_TIMESTAMP functions (WL#345) 2003-08-11 23:43:01 +04:00
config-win.h Review of new pushed code (Indentation fixes and simple optimizations) 2004-08-31 14:35:04 +03:00
errmsg.h client.c, libmysql.c: 2004-06-30 22:18:41 -05:00
ft_global.h ft_boolean_syntax made changeable 2004-02-16 18:53:00 +01:00
hash.h Merge key cache structures to one 2003-11-20 22:06:25 +02:00
heap.h key_cmp -> key_cmp_if_same 2004-05-16 14:48:32 +03:00
help_end.h Added patches from Novell 2004-05-25 22:00:14 +03:00
help_start.h Added patches from Novell 2004-05-25 22:00:14 +03:00
keycache.h WL#1700 - Properly count key_blocks_used and key_blocks_current. 2004-05-03 15:55:21 +02:00
m_ctype.h A new function to meassure terminal screen cells number for a string. 2004-08-25 11:39:43 +05:00
m_string.h If the system has 64 bit "long", then "long long" does not add new 2004-08-30 17:41:41 +02:00
Makefile.am Small build fix. 2004-06-25 10:30:24 +04:00
md5.h Update copyright 2001-12-06 14:10:51 +02:00
merge.h Update copyright 2001-12-06 14:10:51 +02:00
my_aes.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
my_alarm.h Update copyright 2001-12-06 14:10:51 +02:00
my_alloc.h Small improvement to alloc_root 2002-11-16 20:19:10 +02:00
my_base.h Merge with 4.1.3-beta 2004-07-07 11:29:39 +03:00
my_bitmap.h Manual merge 2004-06-14 11:18:56 +04:00
my_dbug.h Added missing my_time.c file to mysqlclient project 2004-06-28 00:42:02 +03:00
my_dir.h Fix for Bug #1952 2003-12-12 03:39:29 +03:00
my_getopt.h Merge with 4.0 2004-09-01 04:12:09 +03:00
my_global.h Merge with 4.1 2004-09-06 15:14:10 +03:00
my_handler.h BTREE-indexes in HEAP tables can now be used to optimize ORDER BY 2004-03-25 15:05:01 +02:00
my_list.h Portability fixes (for windows) 2003-01-21 21:07:59 +02:00
my_net.h 4 small items in this: 2003-10-31 23:20:23 +01:00
my_no_pthread.h CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS 2003-11-18 13:47:27 +02:00
my_nosys.h Update copyright 2001-12-06 14:10:51 +02:00
my_pthread.h Merge with 4.0.18 2004-02-11 00:06:46 +01:00
my_semaphore.h more #ifdef THREAD added 2003-04-30 12:32:43 +02:00
my_sys.h Two small fixes to make -debug version usable again. 2004-09-14 00:35:42 +04:00
my_time.h Strict mode & better warnings 2004-09-28 20:08:00 +03:00
my_tree.h after merge fixes 2004-03-18 00:09:13 +02:00
my_xml.h Portability fixes 2003-02-28 14:32:40 +02:00
myisam.h handler interface cleanups: 2004-06-23 12:29:05 +02:00
myisammrg.h key_cmp -> key_cmp_if_same 2004-05-16 14:48:32 +03:00
myisampack.h Casted all macro arguments, 2004-07-28 21:46:22 +02:00
mysql.h Merge with 4.1 2004-09-06 15:14:10 +03:00
mysql_com.h Strict mode & better warnings 2004-09-28 20:08:00 +03:00
mysql_embed.h Merge with 4.0, mainly to get changes to windows project files 2004-05-20 00:54:52 +03:00
mysql_time.h Cleanup in mysql_time.h/my_time.h headers. The first is used in mysql.h, 2004-08-05 14:16:43 -07:00
mysql_version.h.in Merge with 4.0 to get fixes for Windows project files 2004-05-25 02:47:25 +03:00
mysqld_error.h Strict mode & better warnings 2004-09-28 20:08:00 +03:00
mysys_err.h - Added missing documentation to some mysql.cc options. 2004-01-14 04:58:37 +02:00
nisam.h Update copyright 2001-12-06 14:10:51 +02:00
queues.h fix_max_connections to resize alarm_queue (Bug #1435) 2003-10-06 14:11:16 +02:00
raid.h Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rijndael.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sha1.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sql_common.h Fixes for bugs in embedded library: 2004-07-22 20:54:25 +05:00
sql_state.h Strict mode & better warnings 2004-09-28 20:08:00 +03:00
sslopt-case.h fixed so that --ssl and --skip-ssl works with the MySQL clients. 2002-09-17 23:46:53 +03:00
sslopt-longopts.h consistency fix - all help texts for command-line options should end with a dot. 2003-06-13 10:59:02 +02:00
sslopt-vars.h Update copyright 2001-12-06 14:10:51 +02:00
t_ctype.h Update copyright 2001-12-06 14:10:51 +02:00
thr_alarm.h Added patches from Novell 2004-05-25 22:00:14 +03:00
thr_lock.h Merge with 4.0 2003-03-16 19:17:54 +02:00
typelib.h Windows build fix 2003-01-18 14:04:34 -08:00
violite.h Merge with 4.0.21 2004-06-18 04:38:58 +03:00