mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix support for MSSQL testing
This commit is contained in:
parent
adbccbe852
commit
3b30d5b0ed
@ -146,7 +146,7 @@ AC_ARG_ENABLE(mssql,
|
|||||||
yes) db_type=mssql; mssql=true ;;
|
yes) db_type=mssql; mssql=true ;;
|
||||||
no) db_type=generic; mssql=false ;;
|
no) db_type=generic; mssql=false ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mssql) ;;
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mssql) ;;
|
||||||
esac],[db_type=generic])
|
esac],[if test "x$mssql" = "x"; then db_type=generic; mysql=false; fi])
|
||||||
|
|
||||||
AC_ARG_ENABLE(mysql,
|
AC_ARG_ENABLE(mysql,
|
||||||
[AS_HELP_STRING([--enable-mysql],[enable MySQL support (default: no)])],
|
[AS_HELP_STRING([--enable-mysql],[enable MySQL support (default: no)])],
|
||||||
@ -285,6 +285,7 @@ AC_SUBST(new_sql_schema)
|
|||||||
AC_SUBST(full_xml)
|
AC_SUBST(full_xml)
|
||||||
AC_SUBST(db_type)
|
AC_SUBST(db_type)
|
||||||
AC_SUBST(odbc)
|
AC_SUBST(odbc)
|
||||||
|
AC_SUBST(mssql)
|
||||||
AC_SUBST(mysql)
|
AC_SUBST(mysql)
|
||||||
AC_SUBST(pgsql)
|
AC_SUBST(pgsql)
|
||||||
AC_SUBST(sqlite)
|
AC_SUBST(sqlite)
|
||||||
|
@ -546,7 +546,7 @@ WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW
|
|||||||
CREATE UNIQUE INDEX [i_push_ut] ON [push_session] (username, timestamp)
|
CREATE UNIQUE INDEX [i_push_ut] ON [push_session] (username, timestamp)
|
||||||
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
|
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
|
||||||
|
|
||||||
CREATE TABLE [dbo].[mqtt_pub](
|
CREATE TABLE [dbo].[mqtt_pub] (
|
||||||
[username] [varchar](191) NOT NULL,
|
[username] [varchar](191) NOT NULL,
|
||||||
[server_host] [varchar](191) NOT NULL,
|
[server_host] [varchar](191) NOT NULL,
|
||||||
[resource] [varchar](191) NOT NULL,
|
[resource] [varchar](191) NOT NULL,
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
%% Dependencies
|
%% Dependencies
|
||||||
{odbc, @odbc@}.
|
{odbc, @odbc@}.
|
||||||
|
{mssql, @mssql@}.
|
||||||
{mysql, @mysql@}.
|
{mysql, @mysql@}.
|
||||||
{pgsql, @pgsql@}.
|
{pgsql, @pgsql@}.
|
||||||
{sqlite, @sqlite@}.
|
{sqlite, @sqlite@}.
|
||||||
|
Loading…
Reference in New Issue
Block a user