Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a392a911
Commit
a392a911
authored
Nov 20, 2013
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding tests for CATFUC=Tables and CATFUNC=Columns into odbc_sqlite3.test.
parent
793f05c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
storage/connect/mysql-test/connect/r/odbc_sqlite3.result
storage/connect/mysql-test/connect/r/odbc_sqlite3.result
+10
-0
storage/connect/mysql-test/connect/t/odbc_sqlite3.test
storage/connect/mysql-test/connect/t/odbc_sqlite3.test
+10
-0
No files found.
storage/connect/mysql-test/connect/r/odbc_sqlite3.result
View file @
a392a911
...
...
@@ -41,3 +41,13 @@ test2
ÆÇÈÉË
DROP VIEW v1;
DROP TABLE t1;
CREATE TABLE t1 ENGINE=CONNECT CATFUNC=Columns TABNAME='t1' TABLE_TYPE=ODBC CONNECTION='Driver=SQLite3 ODBC Driver;Database=MTR_SUITE_DIR/std_data/test.sqlite3;NoWCHAR=yes' CHARSET=utf8 DATA_CHARSET=utf8;
SELECT * FROM t1;
Table_Qualif Table_Owner Table_Name Column_Name Data_Type Type_Name Precision Length Scale Radix Nullable Remarks
t1 a 12 varchar(64) 64 64 10 0 1
DROP TABLE t1;
CREATE TABLE t1 ENGINE=CONNECT CATFUNC=Tables TABNAME='t1' TABLE_TYPE=ODBC CONNECTION='Driver=SQLite3 ODBC Driver;Database=MTR_SUITE_DIR/std_data/test.sqlite3;NoWCHAR=yes' CHARSET=utf8 DATA_CHARSET=utf8;
SELECT * FROM t1;
Table_Qualifier Table_Owner Table_Name Table_Type Remark
t1 TABLE
DROP TABLE t1;
storage/connect/mysql-test/connect/t/odbc_sqlite3.test
View file @
a392a911
...
...
@@ -67,3 +67,13 @@ SELECT * FROM v1;
DROP
VIEW
v1
;
DROP
TABLE
t1
;
--
replace_result
$MTR_SUITE_DIR
MTR_SUITE_DIR
--
eval
CREATE
TABLE
t1
ENGINE
=
CONNECT
CATFUNC
=
Columns
TABNAME
=
't1'
TABLE_TYPE
=
ODBC
CONNECTION
=
'Driver=SQLite3 ODBC Driver;Database=$Database;NoWCHAR=yes'
CHARSET
=
utf8
DATA_CHARSET
=
utf8
SELECT
*
FROM
t1
;
DROP
TABLE
t1
;
--
replace_result
$MTR_SUITE_DIR
MTR_SUITE_DIR
--
eval
CREATE
TABLE
t1
ENGINE
=
CONNECT
CATFUNC
=
Tables
TABNAME
=
't1'
TABLE_TYPE
=
ODBC
CONNECTION
=
'Driver=SQLite3 ODBC Driver;Database=$Database;NoWCHAR=yes'
CHARSET
=
utf8
DATA_CHARSET
=
utf8
SELECT
*
FROM
t1
;
DROP
TABLE
t1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment