diff options
author | unknown <msvensson@neptunus.(none)> | 2006-03-07 07:50:04 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-03-07 07:50:04 +0100 |
commit | ef446e61eacae2109a8c3d950576c514a2394493 (patch) | |
tree | 01e4b648ed7e2b242b938ac67351735530f6f0a0 /client | |
parent | c43c08f51480de3e2421b122c4b58702eb59acf4 (diff) | |
download | mariadb-git-ef446e61eacae2109a8c3d950576c514a2394493.tar.gz |
Improve error message for faulty usage of "inc" and "dec"
client/mysqltest.c:
Improve error messages for "inc" and "dec"
mysql-test/r/mysqltest.result:
Update test result
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 09072d430f9..05304c1dd6d 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -1360,9 +1360,9 @@ int do_modify_var(struct st_query *query, const char *p= query->first_argument; VAR* v; if (!*p) - die("Missing arguments to %.*s", query->first_word_len, query->query); + die("Missing argument to %.*s", query->first_word_len, query->query); if (*p != '$') - die("First argument to %.*s must be a variable (start with $)", + die("The argument to %.*s must be a variable (start with $)", query->first_word_len, query->query); v= var_get(p, &p, 1, 0); switch (operator) { @@ -1373,7 +1373,7 @@ int do_modify_var(struct st_query *query, v->int_val++; break; default: - die("Invalid operator to do_operator"); + die("Invalid operator to do_modify_var"); break; } v->int_dirty= 1; |