mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix typo and example in comment/KB for setval()
This commit is contained in:
@ -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()
|
||||
|
@ -176,7 +176,7 @@ void sequence_definition::store_fields(TABLE *table)
|
||||
|
||||
|
||||
/*
|
||||
Check the sequence fields through seq_fields when createing a sequence.
|
||||
Check the sequence fields through seq_fields when creating a sequence.
|
||||
|
||||
RETURN VALUES
|
||||
false Success
|
||||
|
Reference in New Issue
Block a user