~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
..
bchange.cc 629.3.4 15 years ago Kristian Nielsen Take Mats'es changes from bmove()->memcpy(), and f 1.3 KB Diff Download File
bmove_upp.cc 575.3.1 15 years ago Monty Taylor Made mysys and mystrings c++. Fixed the resulting 1 KB Diff Download File
ChangeLog 1 16 years ago brian clean slate 1.1 KB Diff Download File
CHARSET_INFO.txt 482 15 years ago Brian Aker Remove uint. 7.7 KB Diff Download File
ctype-bin.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 14.4 KB Diff Download File
ctype-extra.cc 575.3.1 15 years ago Monty Taylor Made mysys and mystrings c++. Fixed the resulting 2.4 KB Diff Download File
ctype-mb.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 34.6 KB Diff Download File
ctype-simple.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 41.8 KB Diff Download File
ctype-uca.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 441 KB Diff Download File
ctype-utf8.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 209 KB Diff Download File
ctype.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 4.1 KB Diff Download File
decimal.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 85.1 KB Diff Download File
decimal.h 575.1.11 15 years ago Monty Taylor Coupla little fixes. 4 KB Diff Download File
dtoa.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 58.4 KB Diff Download File
int2str.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 4.6 KB Diff Download File
is_prefix.cc 575.3.1 15 years ago Monty Taylor Made mysys and mystrings c++. Fixed the resulting 1 KB Diff Download File
latin2.def 1 16 years ago brian clean slate 5.7 KB Diff Download File
llstr.cc 575.3.1 15 years ago Monty Taylor Made mysys and mystrings c++. Fixed the resulting 1.1 KB Diff Download File
longlong2str.cc 575.3.1 15 years ago Monty Taylor Made mysys and mystrings c++. Fixed the resulting 3.6 KB Diff Download File
m_ctype.h 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 36.2 KB Diff Download File
m_string.h 670.3.1 15 years ago Toru Maesaka Replaced MySQL's my_stpncpy() with libc and c++ ca 5 KB Diff Download File
Makefile.am 673.2.2 15 years ago Toru Maesaka Final pass of replacing MySQL's strxmov with libc' 1.1 KB Diff Download File
my_strtoll10.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 5.9 KB Diff Download File
my_uctype.h 212.5.18 16 years ago Monty Taylor Moved m_ctype, m_string and my_bitmap. Removed t_c 67.7 KB Diff Download File
README 1 16 years ago brian clean slate 4.6 KB Diff Download File
str2int.cc 575.3.1 15 years ago Monty Taylor Made mysys and mystrings c++. Fixed the resulting 6.4 KB Diff Download File
string.doc 482 15 years ago Brian Aker Remove uint. 6.4 KB Diff Download File
strto.cc 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 5.1 KB Diff Download File
t_ctype.h 660.1.3 15 years ago Eric Herman removed trailing whitespace with simple script: f 5.5 KB Diff Download File