diff options
author | unknown <magnus@neptunus.(none)> | 2004-05-25 12:10:54 +0200 |
---|---|---|
committer | unknown <magnus@neptunus.(none)> | 2004-05-25 12:10:54 +0200 |
commit | c94b1d606f15a2546f6cb05ea31797d306b09183 (patch) | |
tree | 4f9be4a27eb6c4ac7dc1a1d27fabb05587c40915 /sql/handler.cc | |
parent | b773b5671b6c3e8d06badec4cdb6a601ce1db5d7 (diff) | |
download | mariadb-git-c94b1d606f15a2546f6cb05ea31797d306b09183.tar.gz |
Uses table_type() function to get name of storage engine before printing engine specific error message.
sql/handler.cc:
Use table_type to get "name" of this handler
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 0a8e09e4145..bf5f870e8ff 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -1127,7 +1127,7 @@ void handler::print_error(int error, myf errflag) temporary= get_error_message(error, &str); if (!str.is_empty()) { - const char* engine= ha_get_storage_engine(table->db_type); + const char* engine= table_type(); if (temporary) my_error(ER_GET_TEMPORARY_ERRMSG,MYF(0),error,str.ptr(),engine); else |