FS-3527 this fixes part of the problem with MSSQL

This commit is contained in:
Jeff Lenk committed 2011-08-31 16:04:20 -05:00
1 parent 8f67d2fbfb
commit 882ebd6777
3 files changed
+12 -1

No files matched your search

+8
View File
@@ -2114,6 +2114,14 @@ SWITCH_DECLARE(void) switch_cache_db_status(switch_stream_handle_t *stream)
switch_mutex_unlock(sql_manager.dbh_mutex);
}
SWITCH_DECLARE(char*)switch_sql_concat()
{
if(runtime.odbc_dbtype == DBTYPE_MSSQL)
return "+";
return "||";
}
/* For Emacs:
* Local Variables:
* mode:c