summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-10-28 11:02:48 +0300
committerunknown <bell@sanja.is.com.ua>2004-10-28 11:02:48 +0300
commit7fd2585b08ff00df98e6309434cd0220524b8ae9 (patch)
tree70b19d638c9beac263179291143f76c5af8757f4 /sql/handler.cc
parent42ba8b442d2024dc9f894223cf3d6ff0e8f2ba13 (diff)
parented61d47efe31765b0e6bce85266574b5e07c4fef (diff)
downloadmariadb-git-7fd2585b08ff00df98e6309434cd0220524b8ae9.tar.gz
merge
mysql-test/r/sp-security.result: Auto merged mysql-test/r/sp.result: Auto merged mysql-test/t/sp-security.test: Auto merged mysql-test/t/sp.test: Auto merged sql/log_event.cc: Auto merged sql/set_var.cc: Auto merged sql/sp.cc: Auto merged sql/sp_rcontext.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_load.cc: Auto merged sql/sql_yacc.yy: Auto merged
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index e74103489eb..5185e7f8921 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -1004,12 +1004,12 @@ next_insert_id(ulonglong nr,struct system_variables *variables)
The next row will be given the id
next_insert_id(next_insert_id)
- The idea is the generated auto_increment values are predicatable and
+ The idea is that generated auto_increment values are predictable and
independent of the column values in the table. This is needed to be
- able to replicate into a table that alread has rows with a higher
+ able to replicate into a table that already has rows with a higher
auto-increment value than the one that is inserted.
- After we have already generated an auto-increment number and the users
+ After we have already generated an auto-increment number and the user
inserts a column with a higher value than the last used one, we will
start counting from the inserted value.
@@ -1035,7 +1035,7 @@ void handler::update_auto_increment()
{
/* Clear flag for next row */
table->auto_increment_field_not_null= FALSE;
- /* Mark that we didn't generated a new value **/
+ /* Mark that we didn't generate a new value **/
auto_increment_column_changed=0;
/* Update next_insert_id if we have already generated a value */
@@ -1076,7 +1076,7 @@ void handler::update_auto_increment()
/*
We can't set next_insert_id if the auto-increment key is not the
- first key part, as there is no gurantee that the first parts will be in
+ first key part, as there is no guarantee that the first parts will be in
sequence
*/
if (!table->next_number_key_offset)