summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2006-06-26 16:59:52 -0700
committerunknown <jimw@mysql.com>2006-06-26 16:59:52 -0700
commitf3c3c9c34189a5ccdacf62aec50e55c197223148 (patch)
tree84961f642176c7b7f9ebabf891de929435990458 /libmysql
parentc3cb46908c30895e0aafa0f7602370240a3c5a98 (diff)
downloadmariadb-git-f3c3c9c34189a5ccdacf62aec50e55c197223148.tar.gz
Bug #16494: Updates that set a column to NULL fail sometimes
When building the UPDATE query to send to the remote server, the federated storage engine built the query incorrectly if it was updating a field to be NULL. Thanks to Bjšrn Steinbrink for an initial patch for the problem. mysql-test/r/federated.result: Add new results mysql-test/t/federated.test: Add new regression test sql/ha_federated.cc: Fix logic of how fields are added to SET and WHERE clauses of an UPDATE statement. Fields that were NULL were being handled incorrectly. Also reorganizes the code a little bit so the update of the two clauses is consistent.
Diffstat (limited to 'libmysql')
0 files changed, 0 insertions, 0 deletions