diff options
author | msvensson@neptunus.(none) <> | 2006-03-07 07:50:04 +0100 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-03-07 07:50:04 +0100 |
commit | 456b2d6b14ec2dcbdd3b490558adfe9131b4b39e (patch) | |
tree | 01e4b648ed7e2b242b938ac67351735530f6f0a0 /client | |
parent | f063ce8e31d803654717c1e8431fe4f9fb4e5c43 (diff) | |
download | mariadb-git-456b2d6b14ec2dcbdd3b490558adfe9131b4b39e.tar.gz |
Improve error message for faulty usage of "inc" and "dec"
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; |