summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-04-05 00:32:48 +0300
committerunknown <monty@mysql.com>2005-04-05 00:32:48 +0300
commitae25f8df6ef53276d2051f193ed6e247da375e4d (patch)
tree47a17106234067aa3cb031e4d92f9f332e28ce59 /sql/sql_base.cc
parentd17aebaa101c241968e6fe466f141f8682fb14e6 (diff)
downloadmariadb-git-ae25f8df6ef53276d2051f193ed6e247da375e4d.tar.gz
Now one gets an error if one tries to insert an invalid value via a stored procedure in STRICT mode. (Bug #5907)
client/mysqldump.c: Changed some function and variable names to MySQL syntax Fixed indentation for last few pushes (No logic changes) mysql-test/r/strict.result: Test for bug #5907 (Traditional mode: invalid value can be inserted via a stored procedure) mysql-test/t/strict.test: Test for bug #5907 (Traditional mode: invalid value can be inserted via a stored procedure) sql/sql_base.cc: More comments sql/sql_error.cc: Ensure that PS gives error for invalid values in 'strict' mode
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 02978ba0c30..736b372cc8f 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -692,11 +692,11 @@ TABLE_LIST *find_table_in_list(TABLE_LIST *table,
/*
- Test that table is unique
+ Test that table is unique (It's only exists once in the table list)
SYNOPSIS
unique_table()
- table table which should be chaked
+ table table which should be checked
table_list list of tables
NOTE: to exclude derived tables from check we use following mechanism: