summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorvenu@myvenu.com <>2003-04-30 00:02:28 -0700
committervenu@myvenu.com <>2003-04-30 00:02:28 -0700
commiteb137c063c05b2511eed85f0027498d64a910e11 (patch)
treecabb1435029397264db6d20a3a7da3ab9fed3d00 /sql/sql_update.cc
parent23a522c026e531bfbef4935918db856b45bfff90 (diff)
downloadmariadb-git-eb137c063c05b2511eed85f0027498d64a910e11.tar.gz
Support of warnings for all DML statements (Insert, Update and Alter)
Fix LOAD DATA INFILE warnings to have a better meanigful messages Fix to make the mysql command line to automatically show the warnings count for all basic commands
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 50fdfac7087..8b36dce1d23 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -315,6 +315,7 @@ int mysql_update(THD *thd,
}
else
table->file->unlock_row();
+ thd->row_count++;
}
end_read_record(&info);
thd->proc_info="end";