summaryrefslogtreecommitdiff
path: root/storage/connect/tabsys.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-03-12 01:20:52 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2013-03-12 01:20:52 +0100
commit7572315ecd64974f5d8faf4cac44a10aca0a4a9f (patch)
treeeef50a03b61d59e6a86a3de62753e1ba6f2bb594 /storage/connect/tabsys.cpp
parenta2ca685661c724819e9e81468529763f039c3e92 (diff)
downloadmariadb-git-7572315ecd64974f5d8faf4cac44a10aca0a4a9f.tar.gz
- New handling of default file name:
Not added as an option but handled when the table is used. An empty file is created in the database directory if not exists. modified: storage/connect/ha_connect.cc storage/connect/mycat.cc storage/connect/tabdos.cpp storage/connect/tabmul.cpp storage/connect/tabsys.cpp storage/connect/tabxml.cpp
Diffstat (limited to 'storage/connect/tabsys.cpp')
-rw-r--r--storage/connect/tabsys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/tabsys.cpp b/storage/connect/tabsys.cpp
index e2e756128cf..90d104521f5 100644
--- a/storage/connect/tabsys.cpp
+++ b/storage/connect/tabsys.cpp
@@ -83,7 +83,7 @@ bool INIDEF::DefineAM(PGLOBAL g, LPCSTR am, int poff)
else
strcpy(ds, "I"); // INI tables default to I(ni)
- Fn = Cat->GetStringCatInfo(g, Name, "Filename", "?");
+ Fn = Cat->GetStringCatInfo(g, Name, "Filename", NULL);
Cat->GetCharCatInfo(Name, "Subtype", ds, buf, sizeof(buf));
Subtype = toupper(*buf);
Cat->GetCharCatInfo(Name, "Layout", "C", buf, sizeof(buf));