From: Paul S. O. <ps...@us...> - 2001-11-30 23:15:56
|
Update of /cvsroot/phpbb/phpBB2/db In directory usw-pr-cvs1:/tmp/cvs-serv2462/db Modified Files: mssql-odbc.php Log Message: Updated for improved use with ODBC setups + introduced a re-install feature ... the schema updates _only_ remove foreign key and drop table clauses Index: mssql-odbc.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/db/mssql-odbc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** mssql-odbc.php 2001/11/20 22:27:29 1.1 --- mssql-odbc.php 2001/11/30 23:15:53 1.2 *************** *** 51,59 **** if($this->persistency) { ! $this->db_connect_id = odbc_pconnect($this->server, "", ""); } else { ! $this->db_connect_id = odbc_connect($this->server, "", ""); } --- 51,59 ---- if($this->persistency) { ! $this->db_connect_id = odbc_pconnect($this->server, $this->user, $this->password); } else { ! $this->db_connect_id = odbc_connect($this->server, $this->user, $this->password); } *************** *** 170,174 **** $query = preg_replace("/\\\'/s", "''", $query); } - $this->query_result = odbc_exec($this->db_connect_id, $query); --- 170,173 ---- |