~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.c 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 16.3 KB Diff Download File
drizzle.c 612.2.4 15 years ago Monty Taylor Moved some defines to config.h. Stopped including 27.2 KB Diff Download File
drizzle.h 629.1.1 15 years ago Monty Taylor More solaris fixes. 6.5 KB Diff Download File
drizzle_data.c 612.2.4 15 years ago Monty Taylor Moved some defines to config.h. Stopped including 3.6 KB Diff Download File
drizzle_data.h 629.1.1 15 years ago Monty Taylor More solaris fixes. 1.4 KB Diff Download File
drizzle_field.h 543 15 years ago Monty Taylor Renamed drizzle_common again. Removed sql_common. 2.1 KB Diff Download File
drizzle_methods.h 629.1.1 15 years ago Monty Taylor More solaris fixes. 2.4 KB Diff Download File
drizzle_options.h 629.1.1 15 years ago Monty Taylor More solaris fixes. 2.7 KB Diff Download File
drizzle_parameters.h 390.1.3 16 years ago Monty Taylor Copyright header fixes. 1.2 KB Diff Download File
drizzle_res.h 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 2.8 KB Diff Download File
drizzle_rows.h 390.1.3 16 years ago Monty Taylor Copyright header fixes. 1.2 KB Diff Download File
errmsg.c 538 15 years ago Monty Taylor Moved gettext.h into drizzled in anticipation of t 4.5 KB Diff Download File
errmsg.h 390.1.3 16 years ago Monty Taylor Copyright header fixes. 3.4 KB Diff Download File
get_password.c 612.2.4 15 years ago Monty Taylor Moved some defines to config.h. Stopped including 3.3 KB Diff Download File
get_password.h 540 15 years ago Monty Taylor Moved drizzle_com to drizzled/drizzle_common. Star 1 KB Diff Download File
libdrizzle.c 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 16.3 KB Diff Download File
libdrizzle.h 584.3.3 15 years ago Moriyoshi Koizumi Incorporating changes proposed by mtaylor. 1.9 KB Diff Download File
libdrizzle.ver 261.2.3 16 years ago Monty Taylor Moved libdrizzle.ver.in to libdrizzle.ver. 29 bytes Diff Download File
libdrizzle_priv.c 612.2.4 15 years ago Monty Taylor Moved some defines to config.h. Stopped including 3.1 KB Diff Download File
libdrizzle_priv.h 584.3.3 15 years ago Moriyoshi Koizumi Incorporating changes proposed by mtaylor. 2.4 KB Diff Download File
local_infile.c 612.2.4 15 years ago Monty Taylor Moved some defines to config.h. Stopped including 8 KB Diff Download File
local_infile.h 390.1.3 16 years ago Monty Taylor Copyright header fixes. 1.1 KB Diff Download File
Makefile.am 635.1.2 15 years ago Elan Ruusamäe - fix libdrizzle linking with -lz 2.1 KB Diff Download File
net_serv.c 679 15 years ago Brian Aker Style cleanup, additional assert on net write() 25 KB Diff Download File
net_serv.h 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 3.4 KB Diff Download File
pack.c 542 15 years ago Monty Taylor Cleaned up the last commit. 2.9 KB Diff Download File
pack.h 540 15 years ago Monty Taylor Moved drizzle_com to drizzled/drizzle_common. Star 1.1 KB Diff Download File
password.c 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 6.1 KB Diff Download File
password.h 540 15 years ago Monty Taylor Moved drizzle_com to drizzled/drizzle_common. Star 1.9 KB Diff Download File
vio.c 575.1.8 15 years ago Monty Taylor Merged from c++ize. 3.2 KB Diff Download File
vio.h 575.2.2 15 years ago Monty Taylor Moved vio stuff into libdrizzle. 5.4 KB Diff Download File
viosocket.c 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 6.2 KB Diff Download File