mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
- Commit merge files
modified: storage/connect/catalog.h storage/connect/filamvct.cpp storage/connect/filamzip.cpp storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc storage/connect/mycat.h storage/connect/myconn.cpp storage/connect/mysql-test/connect/r/xml.result storage/connect/plgdbutl.cpp storage/connect/reldef.cpp storage/connect/reldef.h storage/connect/tabdos.cpp storage/connect/tabfmt.cpp storage/connect/tabmul.cpp storage/connect/tabmysql.cpp storage/connect/taboccur.cpp storage/connect/tabodbc.cpp storage/connect/tabpivot.cpp storage/connect/tabpivot.h storage/connect/tabsys.cpp storage/connect/tabtbl.cpp storage/connect/tabutil.cpp storage/connect/tabvct.cpp storage/connect/tabwmi.cpp storage/connect/tabxcl.cpp storage/connect/tabxml.cpp storage/connect/xindex.cpp
This commit is contained in:
commit
50953a0e9d
28 changed files with 7801 additions and 7690 deletions
|
|
@ -415,10 +415,10 @@ bool CSVDEF::DefineAM(PGLOBAL g, LPCSTR am, int poff)
|
|||
if (DOSDEF::DefineAM(g, "CSV", poff))
|
||||
return true;
|
||||
|
||||
Cat->GetCharCatInfo("Separator", ",", buf, sizeof(buf));
|
||||
GetCharCatInfo("Separator", ",", buf, sizeof(buf));
|
||||
Sep = (strlen(buf) == 2 && buf[0] == '\\' && buf[1] == 't') ? '\t' : *buf;
|
||||
Quoted = Cat->GetIntCatInfo("Quoted", -1);
|
||||
Cat->GetCharCatInfo("Qchar", "", buf, sizeof(buf));
|
||||
Quoted = GetIntCatInfo("Quoted", -1);
|
||||
GetCharCatInfo("Qchar", "", buf, sizeof(buf));
|
||||
Qot = *buf;
|
||||
|
||||
if (Qot && Quoted < 0)
|
||||
|
|
@ -427,9 +427,9 @@ bool CSVDEF::DefineAM(PGLOBAL g, LPCSTR am, int poff)
|
|||
Qot = '"';
|
||||
|
||||
Fmtd = (!Sep || (am && (*am == 'F' || *am == 'f')));
|
||||
Header = (Cat->GetIntCatInfo("Header", 0) != 0);
|
||||
Maxerr = Cat->GetIntCatInfo("Maxerr", 0);
|
||||
Accept = (Cat->GetIntCatInfo("Accept", 0) != 0);
|
||||
Header = (GetIntCatInfo("Header", 0) != 0);
|
||||
Maxerr = GetIntCatInfo("Maxerr", 0);
|
||||
Accept = (GetIntCatInfo("Accept", 0) != 0);
|
||||
return false;
|
||||
} // end of DefineAM
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue