Fixed Full-text search warning treated as error in SQLSRV driver.
This commit is contained in:
parent
ae9b4b5077
commit
48dea0ddb1
|
@ -469,6 +469,17 @@ PHP_MINIT_FUNCTION(sqlsrv)
|
|||
if( zr == FAILURE ) {
|
||||
throw ss::SSException();
|
||||
}
|
||||
|
||||
// Full-text search condition contained noise words warning
|
||||
error_to_ignore.sqlstate = (SQLCHAR*)"01000";
|
||||
error_to_ignore.native_message = NULL;
|
||||
error_to_ignore.native_code = 9927;
|
||||
error_to_ignore.format = false;
|
||||
zr = zend_hash_next_index_insert(g_ss_warnings_to_ignore_ht, &error_to_ignore, sizeof(sqlsrv_error_const), NULL);
|
||||
if (zr == FAILURE) {
|
||||
throw ss::SSException();
|
||||
}
|
||||
|
||||
}
|
||||
catch( ss::SSException& ) {
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
// IN THE SOFTWARE.
|
||||
//---------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#define VER_FILEVERSION_STR "3.2.0.0"
|
||||
#define _FILEVERSION 3,2,0,0
|
||||
#define VER_FILEVERSION_STR "3.2.1.0"
|
||||
#define _FILEVERSION 3,2,1,0
|
||||
#define SQLVERSION_MAJOR 3
|
||||
#define SQLVERSION_MINOR 2
|
||||
#define SQLVERSION_MMDD 0
|
||||
#define SQLVERSION_MMDD 1
|
||||
#define SQLVERSION_REVISION 0
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue