summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-05-25 18:38:29 +0300
committerunknown <monty@mysql.com>2005-05-25 18:38:29 +0300
commitf93d9cf9a400b51c951f69453ffd7534bc5033a9 (patch)
tree0069402a1a22f1a79b67847e8bbe115501385c71 /sql/sql_insert.cc
parent4ba71f1303f4618644edd0dda8c411480dc3dc89 (diff)
parent8c21fd51ff1f869150829f0508fa111185587d34 (diff)
downloadmariadb-git-f93d9cf9a400b51c951f69453ffd7534bc5033a9.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0 sql/sql_base.cc: Auto merged sql/sql_insert.cc: Auto merged
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 6db7e6a6b18..ce1a669c91e 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -892,9 +892,10 @@ int write_record(THD *thd, TABLE *table,COPY_INFO *info)
if (info->handle_duplicates == DUP_UPDATE)
{
int res= 0;
- /* we don't check for other UNIQUE keys - the first row
- that matches, is updated. If update causes a conflict again,
- an error is returned
+ /*
+ We don't check for other UNIQUE keys - the first row
+ that matches, is updated. If update causes a conflict again,
+ an error is returned
*/
DBUG_ASSERT(table->insert_values != NULL);
store_record(table,insert_values);