diff options
author | unknown <sergefp@mysql.com> | 2007-07-17 19:51:50 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2007-07-17 19:51:50 +0400 |
commit | 955c19961df6f18cd0217b5522e69db7287af67c (patch) | |
tree | 13cadec749cf2233b39ccadf92b06829d4124039 /sql/ha_heap.h | |
parent | 25545b4bfb56ed4581edddb47820f4c968bb1f1f (diff) | |
download | mariadb-git-955c19961df6f18cd0217b5522e69db7287af67c.tar.gz |
[pb problem]: ha_heap->clone() fails on windows because of mess with
'/' and '\' in path delimiters:
- Fix this by creating new handler with exactly the same path line as
was passed to ha_create/ha_open.
sql/opt_range.cc:
Set thd->net.report_error on handler::clone() failure
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r-- | sql/ha_heap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h index 27846ca4a8e..23583d0a6a7 100644 --- a/sql/ha_heap.h +++ b/sql/ha_heap.h @@ -32,6 +32,7 @@ class ha_heap: public handler public: ha_heap(TABLE *table); ~ha_heap() {} + handler *clone(MEM_ROOT *mem_root); const char *table_type() const { return (table->in_use->variables.sql_mode & MODE_MYSQL323) ? |