diff options
author | Marc Alff <marc.alff@sun.com> | 2010-02-23 17:45:49 -0700 |
---|---|---|
committer | Marc Alff <marc.alff@sun.com> | 2010-02-23 17:45:49 -0700 |
commit | 9d5deb076a323b1c1dea9f447f407a3e9c699be5 (patch) | |
tree | 9f96cd5e5aa2b4da3e522a2c30dd778961c93301 /client | |
parent | b77d7d17b3a4a639842fb77c7a93ca68fd7a8faa (diff) | |
download | mariadb-git-9d5deb076a323b1c1dea9f447f407a3e9c699be5.tar.gz |
Bug#10143 Perror not showing error description
Backport to 5.5.99
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 9281d40bd60..327b6f9246f 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -4460,12 +4460,13 @@ typedef struct { const char *name; uint code; + const char *text; } st_error; static st_error global_error_names[] = { #include <mysqld_ername.h> - { 0, 0 } + { 0, 0, 0 } }; uint get_errcode_from_name(char *error_name, char *error_end) |