Re: Re: MDB 2.x
| From: | Michael Wallner | Date: | Thu, 21 Aug 2003 11:08:16 +0000 |
| Subject: | Re: Re: MDB 2.x | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20235@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Hi Michael Wallner, you wrote: (sic!)
> I've found a view bugs in MDB/Modules/Datatype/mssql.php
uhhh.... ^- a *few* of course...
> MDB/mssql.php is using mssql_affected_rows() which
> does not exist.
Ok, replacing that (Line: 418) with mssql_rows_affected()...
(perhaps a matter to introduce a function in PHP5 named
like most of the other DB-funtions in PHP: *_affected_rows()?)
...the Manager creates a DB from a simple definition file
without major errors, just complaining about a non existing
property named *selected_database* in MDB/mssql.php:409, which
I coudn't find anywhere...
One more:
The <start> Element of sequences is labeled optional with a default
value of 1, but the Manager creates the SQL statement as follows:
CREATE TABLE test_user_id_seq
(sequence INT NOT NULL IDENTITY(,1) PRIMARY KEY CLUSTERED)
^^^^
which fails of course with:
"nativecode = 170 - Line 1: Incorrect syntax near ','"
Michael,
hopefully not bein' annoying
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Cygwin)
iD8DBQE/RKgg3645gzRPvy8RArzGAJ9CDzmGW6EozmhT9HoiJgbqynqG9ACdH7Jj
YT2xYg3f/TvstUpu8G2FhfM=
=uWXm
-----END PGP SIGNATURE-----