diff options
author | unknown <brian@avenger.(none)> | 2004-08-12 20:57:18 -0700 |
---|---|---|
committer | unknown <brian@avenger.(none)> | 2004-08-12 20:57:18 -0700 |
commit | 89987fa1044438f01c4a2efdf5563ec1c50a2102 (patch) | |
tree | b1e231e4026c122f6cbe3584c1bee687679422a6 /acinclude.m4 | |
parent | 325de4ebf110d2ed45ff7e215c2e835e7503d2b8 (diff) | |
download | mariadb-git-89987fa1044438f01c4a2efdf5563ec1c50a2102.tar.gz |
This is the addition of the CSV engine "aka tina". Its an example engine that works as a plain text file.
acconfig.h:
Adding HAVE CSV rule
acinclude.m4:
Build option of csv engine
configure.in:
Update for building CSV
sql/Makefile.am:
Added files for CSV build
sql/handler.cc:
Needed options for CSV to be created.
sql/handler.h:
CSV type engine enum.
sql/mysql_priv.h:
Addition of the have_csv_db variable.
sql/mysqld.cc:
Code to show csv option.
sql/set_var.cc:
Adding have show variables for both csv and example.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 5e642c547c3..9d56a30c9f9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1364,6 +1364,37 @@ dnl END OF MYSQL_CHECK_ARCHIVE SECTION dnl --------------------------------------------------------------------------- dnl --------------------------------------------------------------------------- +dnl Macro: MYSQL_CHECK_CSVDB +dnl Sets HAVE_CSV_DB if --with-csv-storage-engine is used +dnl --------------------------------------------------------------------------- +AC_DEFUN([MYSQL_CHECK_CSVDB], [ + AC_ARG_WITH([csv-storage-engine], + [ + --with-csv-storage-engine + Enable the CSV Storage Engine], + [csvdb="$withval"], + [csvdb=no]) + AC_MSG_CHECKING([for csv storage engine]) + + case "$csvdb" in + yes ) + AC_DEFINE(HAVE_CSV_DB) + AC_MSG_RESULT([yes]) + [csvdb=yes] + ;; + * ) + AC_MSG_RESULT([no]) + [csvdb=no] + ;; + esac + +]) +dnl --------------------------------------------------------------------------- +dnl END OF MYSQL_CHECK_CSV SECTION +dnl --------------------------------------------------------------------------- + + +dnl --------------------------------------------------------------------------- dnl Macro: MYSQL_CHECK_NDBCLUSTER dnl Sets HAVE_NDBCLUSTER_DB if --with-ndbcluster is used dnl --------------------------------------------------------------------------- |