⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mssql-error-fix.patch

📁 Typo3, 开源里边最强大的
💻 PATCH
字号:
diff -urw adodb.481/drivers/adodb-odbc.inc.php adodb/drivers/adodb-odbc.inc.php--- adodb.481/drivers/adodb-odbc.inc.php	2006-05-03 09:42:44.000000000 +0200+++ adodb/drivers/adodb-odbc.inc.php	2006-05-15 13:52:08.000000000 +0200@@ -513,6 +513,11 @@ 					$this->_errorMsg = odbc_errormsg(); 					$this->_errorCode = odbc_error(); 				}+				if($this->_errorCode == '00000') {	// MS SQL Server sometimes returns this in combination with the FreeTDS+					$this->_errorMsg = '';		// driver and UnixODBC under Linux. This fixes the bogus "error"+					$this->_errorCode = 0;		// <karsten@typo3.org>+					return true;+				} 				return false; 			} 		@@ -524,6 +529,11 @@ 					$this->_errorMsg = odbc_errormsg(); 					$this->_errorCode = odbc_error(); 				}+				if($this->_errorCode == '00000') {	// MS SQL Server sometimes returns this in combination with the FreeTDS+					$this->_errorMsg = '';		// driver and UnixODBC under Linux. This fixes the bogus "error"+					$this->_errorCode = 0;		// <karsten@typo3.org>+					return true;+				} 				return false; 			} 		} else

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -