summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2019-07-22 02:12:46 -0700
committerAnel Husakovic <anel@mariadb.org>2019-07-22 02:14:09 -0700
commit559584fd9a5e9785e58940f11df02160eab04dad (patch)
treeb986d3f57f1e50da479cffd6b17a7934576e3541 /sql/item_func.cc
parentef44ec4afaa70521789dbb7886a0a21da64a569e (diff)
downloadmariadb-git-559584fd9a5e9785e58940f11df02160eab04dad.tar.gz
Fix typo and example in comment/KB for `setval()`
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index a030d2f8681..f1d91e445da 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -6906,9 +6906,9 @@ longlong Item_func_lastval::val_int()
/*
Sets next value to be returned from sequences
- SELECT setval('foo', 42, 0); Next nextval will return 43
- SELECT setval('foo', 42, 0, true); Same as above
- SELECT setval('foo', 42, 0, false); Next nextval will return 42
+ SELECT setval(foo, 42, 0); Next nextval will return 43
+ SELECT setval(foo, 42, 0, true); Same as above
+ SELECT setval(foo, 42, 0, false); Next nextval will return 42
*/
longlong Item_func_setval::val_int()