Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laysakura/mysqlite-storage-engine
MySQL storage engine that reads/writes SQLite database files.
https://github.com/laysakura/mysqlite-storage-engine
Last synced: 17 days ago
JSON representation
MySQL storage engine that reads/writes SQLite database files.
- Host: GitHub
- URL: https://github.com/laysakura/mysqlite-storage-engine
- Owner: laysakura
- Created: 2013-02-19T23:58:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-17T08:26:07.000Z (over 10 years ago)
- Last Synced: 2024-04-15T12:50:11.938Z (7 months ago)
- Language: C++
- Size: 6.7 MB
- Stars: 19
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* MySQLite Storage Engine
MySQLite Storage Engine is a MySQL storage engine that aims to read/write SQLite database files.
Currently it does not fully work.** Current feature
- Fullscan support
- Some CPU-intensive queries like GROUP BY and ORDER BY are faster than SQLite.** Installation
Checked with:
- CentOS release 5.9 (Final)
- gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)*** Build MariaDB with MySQLite
#+BEGIN_SRC sh
$ cd mariadb-%VERSION%/storage
$ git clone git://github.com/laysakura/MySQLite-Storage-Engine.git mysqlite
$ cd ..
$ cmake # Use -DCMAKE_INSTALL_PREFIX=/path/to/basedir -DMYSQL_DATADIR=/path/to/datadir if necessary
$ make && make install
#+END_SRC*** Launch mysqld
#+BEGIN_SRC sh
$ /path/to/basedir/scripts/mysql_install_db # Use --basedir=/path/to/basedir --datadir=/path/to/datadir if necessary
$ ~/local/mariadb-10.0.2/bin/mysqld --defaults-file=/path/to/my.cnf
#+END_SRC*** Install MySQLite
#+BEGIN_SRC sh
$ cd mariadb-%VERSION%/storage/mysqlite
$ mysql --defaults-file=/path/to/my.cnf -uroot < support-files/install.sql
#+END_SRC*** Test MySQLite
Create database and user before running tests if necessary.
#+BEGIN_SRC sh
$ DB=user_db CNF=/path/to/my.cnf DBI_USER=user DBI_PASSWORD=password ./run_tests.pl
#+END_SRC
*Currently, t/05 and t/06 do not pass.*