Search the web
Sign In
New User? Sign Up
metabase-dev · Metabase Development discussions list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: PHP Extension SQLite Driver latest   Message List  
Reply | Forward Message #1142 of 1151 |
Re: [metabase-dev] Re: PHP Extension SQLite Driver latest

Hello,

on 11/18/2005 09:12 PM jonbouyw said the following:
>> I figured that the problem is that when you change the schema of an
>> SQLite database, existing database connections are not made aware.
>>
>> The driver test script may add tables for testing auto-increment and
>> BLOBs. The connection that tests these features is not aware right away.
>>
>> The solution was to change the driver test script to close and reopen
>> the database connection after a schema change. It works now.
>
> Yes, the alternative as I understand it would be to insert a 'VACUUM'
> on the database in between, but I think it is far more efficient to
> close and re-open.

I am not sure if a VACUUM would notify the other connections. Anyway,
that is documented now in the driver notes.


>> I also added support to use composite primary keys. The way you had
>> assumed that only the auto-increment field could be a primary key.
>>
> Great stuff, I just implemented a clumsy hack just to get it working,
> I really appreciate your input on this.

No problem. I also implemented support for table renaming and column
adding. That will only work when SQLite 3 library is used with the PHP
distribution.

Anyway, I just updated the documentation adding your name and e-mail
address to the credits. Please take a look and let me know if it is ok
for you, as I am about to make a new release:

http://www.meta-language.net/metabase.html

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/



Sun Nov 20, 2005 3:55 am

mallemos
Offline Offline
Send Email Send Email

Forward
Message #1142 of 1151 |
Expand Messages Author Sort by Date

OK the last update, for now, until someone who knows what they are doing can verify what I've done. This one is completing all 16 conformance tests. And now...
jonbouyw
Offline Send Email
Nov 1, 2005
7:43 pm

Hello, ... I think an hack of the base manager driver class may be needed. I'll take a look at that. ... I am not sure yet if relying on UDF is a good idea. I...
Manuel Lemos
mallemos
Offline Send Email
Nov 2, 2005
6:03 am

Hello, ... Ok, can you please upload all your files here? http://groups.yahoo.com/group/metabase-dev/files/beta/ ... Great. The survey shows there is a...
Manuel Lemos
mallemos
Offline Send Email
Nov 2, 2005
6:35 am

Hello, ... I am finally integrating your update of the SQLite driver under PHP 4.3.11 using the extension from PECL. I am experiencing a few glitches with the...
Manuel Lemos
mallemos
Offline Send Email
Nov 17, 2005
6:32 am

... script it ... No I have no idea why that happens. I'm am aware of it though, strangely it runs right through the test script, first time, when using a...
jonbouyw
Offline Send Email
Nov 18, 2005
5:41 pm

Hello, ... I figured that the problem is that when you change the schema of an SQLite database, existing database connections are not made aware. The driver...
Manuel Lemos
mallemos
Offline Send Email
Nov 18, 2005
10:24 pm

... Yes, the alternative as I understand it would be to insert a 'VACUUM' on the database in between, but I think it is far more efficient to close and...
jonbouyw
Offline Send Email
Nov 18, 2005
11:14 pm

Hello, ... I am not sure if a VACUUM would notify the other connections. Anyway, that is documented now in the driver notes. ... No problem. I also implemented...
Manuel Lemos
mallemos
Offline Send Email
Nov 20, 2005
3:55 am

... Hi Manuel I've just tested the latest CVS version and it's working great apart from when running for the first time with a persistent connection. PHP...
jonbouyw
Offline Send Email
Nov 20, 2005
2:15 pm

Hello, ... Maybe that is because closing persistent connections should not make any effect. I changed the driver class to not call sqlite_close when closing a...
Manuel Lemos
mallemos
Offline Send Email
Nov 21, 2005
4:00 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help