~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
..
support 1 16 years ago brian clean slate Diff
archive_performance.c 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 4.1 KB Diff Download File
archive_reader.c 656.1.47 15 years ago Monty Taylor More malloc return check fixes. 8.8 KB Diff Download File
archive_test.c 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 10.7 KB Diff Download File
azio.cc 656.1.39 15 years ago Monty Taylor Removed my_seek, my_tell, my_fwrite, my_fseek. 27.4 KB Diff Download File
azio.h 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 14.3 KB Diff Download File
concurrency_test.c 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 7.5 KB Diff Download File
ha_archive.cc 673.3.1 15 years ago Stewart Smith remove old table discovery mechanim. Will be repl 35.2 KB Diff Download File
ha_archive.h 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 5.7 KB Diff Download File
Makefile.am 635.1.9 15 years ago Elan Ruusamäe - no need to version dlopened plugins (add -avoid- 2.9 KB Diff Download File
plug.in 319.1.1 16 years ago Grant Limberg renamed all instances of MYSQL_ to DRIZZLE_ 192 bytes Diff Download File