FS-3527 this fixes part of the problem with MSSQL

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

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