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 ;;
|
||||
no) db_type=generic; mssql=false ;;
|
||||
*) 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,
|
||||
[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(db_type)
|
||||
AC_SUBST(odbc)
|
||||
AC_SUBST(mssql)
|
||||
AC_SUBST(mysql)
|
||||
AC_SUBST(pgsql)
|
||||
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)
|
||||
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,
|
||||
[server_host] [varchar](191) NOT NULL,
|
||||
[resource] [varchar](191) NOT NULL,
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
%% Dependencies
|
||||
{odbc, @odbc@}.
|
||||
{mssql, @mssql@}.
|
||||
{mysql, @mysql@}.
|
||||
{pgsql, @pgsql@}.
|
||||
{sqlite, @sqlite@}.
|
||||
|
Loading…
Reference in New Issue
Block a user