What guidelines should I be following with regards to using MetabaseFreeResult? Should I use it every time I perform a query, or just for queries that return a...
dweingart@...
Aug 8, 2001 2:11 pm
300
Hello, ... that ... You donīt have to free the result set explicitly but if you donīt free it for result sets with many rows, you will be taking a lot of ...
mlemos@...
Aug 8, 2001 5:48 pm
301
... Ok. So I don't need to explicitly call MetabaseFreeResult if the query doesn't return rows, or if it only returns a few. Thanks for your help! -dave...
dweingart@...
Aug 8, 2001 8:42 pm
302
Hello, ... of ... query ... You canīt free a result of a query that does not return rows. I think you should always free a result that return rows although...
mlemos@...
Aug 8, 2001 9:20 pm
303
I was wondering why these functions weren't implemented, since it's so simple to do in all of the APIs? I could send the functions over so they can be...
Askama
askama@...
Aug 18, 2001 9:26 pm
304
Hello Askama, ... Personally I don't see the need for them for database applications in production environments. In such applications you always know what...
Manuel Lemos
mlemos@...
Aug 18, 2001 10:29 pm
305
Hi, ... need ... Is it a fluke? We just discussed the need for this functions at the binarycloud mailing list 'caus our QueryManager does optionally support ...
Andreas Aderhold
a.aderhold@...
Aug 19, 2001 5:10 pm
306
Hello Andreas, ... I would be careful with that. Some databases truncate column names in the query result metadata. What may happen is that if you select to...
Manuel Lemos
mlemos@...
Aug 19, 2001 6:54 pm
307
Hi Manuel, [Resultsetfetching with column names as array keys] ... [...] ... I see the point. This could be a real problem. But carefully designed databases...
Andreas Aderhold
a.aderhold@...
Aug 21, 2001 12:14 am
308
Hello, ... names in the ... truncate ... designed ... prefer ... debugging ... Well, I think it is ok that Metabase has query result metadata functions. What...
mlemos@...
Aug 21, 2001 1:14 pm
309
Hello, I met a problem using this feature the ? in the query. Ex: If I use a mix of varchar and blob in a query, the query looks like this: insert into table...
pierre-henri@...
Sep 17, 2001 3:54 pm
310
I'm having a problem with MetabaseGetDecimalFieldValue, where I'm getting some unexpected results depending on the input value. My environment is MySQL under...
dweingart@...
Sep 18, 2001 2:41 pm
311
Hello, ... No. I tested it and I could not reproduce it in PHP 4.03pl1 under Linux 2.2.18 with glibc 2.2-7 also PHP 4.0.0 under SunOS 5.8. What PHP and OS...
mlemos@...
Sep 18, 2001 4:59 pm
312
Hello, ... second ... Yes, I meant to fix this but never made time. I was willing to integrate the fix, but it uses Perl regular expressions and not everybody...
mlemos@...
Sep 18, 2001 5:19 pm
313
... I think _almost_ everyone has PCRE support these days. Therefore couldn't we assume that they do, and just use it? It's faster, so would be beneficial. ...
Peter Bowyer
reywob@...
Sep 18, 2001 6:42 pm
314
... I found the problem on two different hosts, one is running PHP 4.06 on Solaris and the other is running PHP 4.05 on LinuxPPC. ... I get exactly those...
dweingart@...
Sep 18, 2001 6:43 pm
315
Hello, ... I can use the code function if the preg_match_all function is available, but I still need some alternative code that works when the function is not...
mlemos@...
Sep 18, 2001 9:19 pm
316
Hello, ... Oh, yes, I can reproduce with that number. It seems to be a rounding bug in PHP intval() function. Using round instead of intval fixes the problem....
mlemos@...
Sep 18, 2001 10:10 pm
317
... Excellent! You better believe I spent some time yesterday longing for a strongly typed language :) -dave -- David Weingart dweingart@... The foot can...
David Weingart
dweingart@...
Sep 18, 2001 11:21 pm
318
Hello, ... Actually, the right way to do handle decimal values is by using arbitrary precision math, but it seems that PHP support for that is not very good. ...
mlemos@...
Sep 18, 2001 11:44 pm
319
HI, I try to use Metabase with MsSql. (I already use it with MySql) For testing, i try an easy sql command : SELECT * FROM table The table has 30 rows. The...
romain@...
Sep 19, 2001 3:00 pm
320
Hello, ... This is confusing. The driver code that you are mentioning only runs when you specify a query result row range to retrieve with...
mlemos@...
Sep 19, 2001 5:23 pm
321
Hello, Metabase is about to enter in an Open Source contest. Regardless if it wins any prize or not, it will benefit of some exposure that will contribute to...
mlemos@...
Sep 24, 2001 5:35 pm
322
hi. i am currently thinking of using metabase for the db abstraction layer on myphpnuke, a php web portal system. Could you tell me in more detail what is the...
webmaster@...
Sep 30, 2001 6:20 pm
323
Hello, ... One important thing is that Metabase not only assures the portability of the code to access your databases independent from the DBMS you are using, ...
Manuel Lemos
mlemos@...
Sep 30, 2001 6:53 pm
324
If I may add, (just a user) Manuel actually implemented this stuff on real world applications, and also developed other classes related to same task (forms,...
Andrej Falout
afalout@...
Oct 1, 2001 1:07 am
325
Apologies if this appears twice - I sent one copy 6 hours ago and it still hasn't shown up :-( ... This is why I am seriously considering changing the db...
Peter Bowyer
reywob@...
Oct 1, 2001 2:31 pm
326
... Right! ... Maybe you should distribute everything that is needed because not everybody may have part that is necessary. ... ok. ... I will implement this...
mlemos@...
Oct 1, 2001 6:07 pm
327
... This is why I am seriously considering changing the db abstraction layer in sendcard from PHPLib to Metabase - trying to write database updates which work...
Peter Bowyer
reywob@...
Oct 2, 2001 2:06 am
328
... No it doesn't sound like it will be easy! I have to confess that I don't understand why datatypes may need to be converted - surely it's just a question...