diff options
Diffstat (limited to 'storage/maria/ma_delete_table.c')
-rw-r--r-- | storage/maria/ma_delete_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/maria/ma_delete_table.c b/storage/maria/ma_delete_table.c index bdfece7ada7..43e15b614aa 100644 --- a/storage/maria/ma_delete_table.c +++ b/storage/maria/ma_delete_table.c @@ -84,8 +84,8 @@ int maria_delete_table(const char *name) it. */ LSN lsn; - LEX_STRING log_array[TRANSLOG_INTERNAL_PARTS + 1]; - log_array[TRANSLOG_INTERNAL_PARTS + 0].str= (char *)name; + LEX_CUSTRING log_array[TRANSLOG_INTERNAL_PARTS + 1]; + log_array[TRANSLOG_INTERNAL_PARTS + 0].str= name; log_array[TRANSLOG_INTERNAL_PARTS + 0].length= strlen(name) + 1; if (unlikely(translog_write_record(&lsn, LOGREC_REDO_DROP_TABLE, &dummy_transaction_object, NULL, |