~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
..
ar.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
boldquot.sed 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 217 bytes Diff Download File
ca.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
ChangeLog 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 462 bytes Diff Download File
cs.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
cy.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
de.po 670.1.14 15 years ago Monty Taylor Updated translations. 204 KB Diff Download File
drizzle.pot 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
el.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
en@boldquot.header 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 1.3 KB Diff Download File
en@quot.header 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 1.1 KB Diff Download File
en_AU.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
en_GB.po 670.1.14 15 years ago Monty Taylor Updated translations. 181 KB Diff Download File
eo.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
es.po 670.1.14 15 years ago Monty Taylor Updated translations. 193 KB Diff Download File
fr.po 670.1.14 15 years ago Monty Taylor Updated translations. 280 KB Diff Download File
he.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
hi.po 670.1.14 15 years ago Monty Taylor Updated translations. 180 KB Diff Download File
id.po 670.1.14 15 years ago Monty Taylor Updated translations. 162 KB Diff Download File
insert-header.sin 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 672 bytes Diff Download File
it.po 670.1.14 15 years ago Monty Taylor Updated translations. 273 KB Diff Download File
ja.po 670.1.14 15 years ago Monty Taylor Updated translations. 171 KB Diff Download File
ko.po 670.1.14 15 years ago Monty Taylor Updated translations. 161 KB Diff Download File
LINGUAS 612.2.16 15 years ago Monty Taylor Merged latest translations from Launchpad. 111 bytes Diff Download File
Makefile.in.in 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 14.8 KB Diff Download File
Makevars 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 1.7 KB Diff Download File
ml.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
mr.po 670.1.14 15 years ago Monty Taylor Updated translations. 161 KB Diff Download File
ms.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
nb.po 670.1.14 15 years ago Monty Taylor Updated translations. 186 KB Diff Download File
nl.po 670.1.14 15 years ago Monty Taylor Updated translations. 272 KB Diff Download File
pl.po 670.1.14 15 years ago Monty Taylor Updated translations. 168 KB Diff Download File
POTFILES.in 612.2.16 15 years ago Monty Taylor Merged latest translations from Launchpad. 1 KB Diff Download File
pt.po 670.1.14 15 years ago Monty Taylor Updated translations. 163 KB Diff Download File
pt_BR.po 670.1.14 15 years ago Monty Taylor Updated translations. 181 KB Diff Download File
quot.sed 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 153 bytes Diff Download File
remove-potcdate.sin 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 432 bytes Diff Download File
ro.po 670.1.14 15 years ago Monty Taylor Updated translations. 162 KB Diff Download File
ru.po 670.1.14 15 years ago Monty Taylor Updated translations. 167 KB Diff Download File
Rules-quot 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 1.7 KB Diff Download File
sv.po 670.1.14 15 years ago Monty Taylor Updated translations. 163 KB Diff Download File
ta.po 670.1.14 15 years ago Monty Taylor Updated translations. 160 KB Diff Download File
tr.po 670.1.14 15 years ago Monty Taylor Updated translations. 161 KB Diff Download File
zh_CN.po 670.1.14 15 years ago Monty Taylor Updated translations. 161 KB Diff Download File
zh_HK.po 670.1.14 15 years ago Monty Taylor Updated translations. 161 KB Diff Download File