RE: [PEAR-DEV] Re: MDB 2.x
| From: | Lukas Smith | Date: | Thu, 21 Aug 2003 11:17:58 +0000 |
| Subject: | RE: [PEAR-DEV] Re: MDB 2.x | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20236@lists.php.net to get a copy of this message | ||
> From: Michael Wallner [mailto:m.wallner@iworks.at]
> Sent: Thursday, August 21, 2003 1:08 PM
> > Hi Michael Wallner, you wrote: (sic!)
>
> > 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()?)
yup already did that .. indeed a bit annoying that the word order is
messed up.
> ...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...
ok, will take a look.
> 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 ','"
oki, will check it out
> hopefully not bein' annoying
no no .. exactly what I always wanted :-)
regards,
Lukas