~drizzle-trunk/drizzle/development

  • Committer: Jay Pipes
  • Date: 2008-12-17 04:02:20 UTC
  • Revision ID: jpipes@serialcoder-20081217040220-b062yr3pwibi0j2o
Enabled the null.test.

* Fixed numerous SQL syntax change errors in null.test
* Added tests to ensure that UPDATE .. SET col=NULL produced appropriate errors, but only when rows were contained in the table.
* Added tests to ensure that LOAD DATA INFILE produces errors when setting NULL on NOT NULL columns

sql_insert.cc:

Modified the check_that_all_fields_are_given_values() function to ensure
an error is thrown instead of a warning when NULL is inserted into a NOT NULL column.

sql_update.cc:

Modifed mysql_update(), setting ignore to only CHECK_FIELD_ERROR_FOR_NULL, which 
is used by field_conv:set_field_to_null() and set_field_to_null_with_conversions() 
during the update

field_conv.cc:

Raise an error, not a warning, when NULL is set for NOT NULL columns

sql_load.cc:

Set ignore again, same as in sql_update.cc, but leave error as 1263 which 
gives additional information in a LOAD statement.

Added a null_test.txt file to check the LOAD DATA INFILE statement in null.test
Filename Latest Rev Last Changed Committer Comment Size
..
client_priv.h 672.1.2 15 years ago Andrew Hutchings Fix help for show-progress-size 3.5 KB Diff Download File
completion_hash.cc 477 15 years ago Monty Taylor Removed my_free(). It turns out that it had been d 4.5 KB Diff Download File
completion_hash.h 212.5.13 16 years ago Monty Taylor Moved my_sys/my_pthread/my_nosys and mysys_err to 1.9 KB Diff Download File
drizzle.cc 670.1.18 15 years ago Monty Taylor Merged from LinuxJedi. 123 KB Diff Download File
drizzleadmin.cc 656.1.51 15 years ago Monty Taylor Fixed strdup return checking in client/ 10.5 KB Diff Download File
drizzlecheck.cc 673.2.1 15 years ago Toru Maesaka First pass of replacing MySQL's strxmov with libc 25 KB Diff Download File
drizzledump.cc 673.2.1 15 years ago Toru Maesaka First pass of replacing MySQL's strxmov with libc 102 KB Diff Download File
drizzleimport.cc 673.2.1 15 years ago Toru Maesaka First pass of replacing MySQL's strxmov with libc 19.5 KB Diff Download File
drizzleslap.cc 656.1.51 15 years ago Monty Taylor Fixed strdup return checking in client/ 73.9 KB Diff Download File
drizzletest.cc 673.2.1 15 years ago Toru Maesaka First pass of replacing MySQL's strxmov with libc 178 KB Diff Download File
errname.h 383.7.6 15 years ago Monty Taylor Merged in trunk. 26.8 KB Diff Download File
Makefile.am 629.2.4 15 years ago Monty Taylor Cleaned up the lib searching - now base some searc 1.8 KB Diff Download File
my_readline.h 288 16 years ago Brian Aker ulong cleanp in client apps 1.3 KB Diff Download File
readline.cc 656.1.50 15 years ago Monty Taylor More malloc return type checking 5.8 KB Diff Download File