*** mull_ has quit IRC | 00:46 | |
*** elPiola has quit IRC | 04:29 | |
*** elPiola has joined #ingres | 04:29 | |
*** perftuning has quit IRC | 04:46 | |
*** clach04 has quit IRC | 05:26 | |
*** clach04 has joined #ingres | 05:26 | |
*** Alex|off is now known as Alex| | 06:55 | |
*** Gerhard has joined #ingres | 08:45 | |
grantc | morning all | 11:13 |
---|---|---|
grantc | Alex|, do you know if Paul has looked at that update to the PHP driver I gave him? | 11:13 |
grantc | http://www.youtube.com/watch?v=A_B5UrI7nAI - Obama's Elf ... | 11:35 |
pboro | damnit, Ingres JDBC driver doesn't work with Crystal Reports | 11:35 |
pboro | It says "No MST is currently in progress, cannot declare another cursor", what ever that means... *googl* | 11:36 |
grantc | ingres only allows for a single cursor open with auto commit | 11:37 |
grantc | in the URL put AUTO=multi | 11:37 |
grantc | correction ingres closes cursors with autocommit, | 11:38 |
grantc | you need that setting to emulate auto-commit | 11:38 |
pboro | Okay, I'll try that | 11:39 |
grantc | if you are using 2.6 you might want CURSOR=READONLY as well | 11:39 |
pboro | 2006 R3 | 11:40 |
grantc | it should be on by default then | 11:40 |
pboro | grr... I have the iijdbc driver since it doesn't work as per jdbc specification | 11:47 |
pboro | hate even | 11:47 |
grantc | ? | 11:48 |
pboro | it's compulsory to tell the port of the database including the database you want to connect in the connection url | 11:48 |
pboro | which makes it inpossible to switch database easily in jdbc db browsing software, since setDatabase on the driver/connection is not possible, a new connection is required with a new url | 11:49 |
grantc | that's not a jdbc issue thats Ingres | 11:49 |
pboro | yeah I could open an issue about it, will do if I have the motivation :D | 11:49 |
pboro | oh, it's a limitation in Ingres? doh | 11:49 |
grantc | i have the same issue, to resolve, with the php driver | 11:50 |
Gerhard | Hi all | 11:50 |
grantc | no idea how I will do it, short of disconnect here, connect there ... | 11:50 |
grantc | hi Gerhard | 11:50 |
Gerhard | pboro: which release of Crystal Reports did you use to test iijdbc.jar? Crystal 2008? | 11:51 |
pboro | Gerhard, that one. Still testing :) | 11:51 |
pboro | grantc, AUTO=multi helped, I can get into the db now | 11:52 |
grantc | cool | 11:52 |
grantc | one could argue that should be on by default but I believe there are implications... | 11:52 |
pboro | yup | 12:21 |
*** perftuning has joined #ingres | 12:47 | |
grantc | the 2.1.0 driver for php has now been released - http://blogs.planetingres.org/grant/2009/02/27/php-ingres-210-released/ | 12:59 |
pboro | \o/ | 13:00 |
troal01 | Thanks grantc | 13:01 |
grantc | np | 13:02 |
grantc | btw i have not looked at your bug yet. I will add it to the list | 13:02 |
troal01 | Thank you :) | 13:05 |
troal01 | Isn't strncpy supposed to null delimit my char? | 13:31 |
*** grantc is now known as grantc_offline | 13:31 | |
*** grantc_offline is now known as grantc | 13:38 | |
elPiola | troal01, no. see http://dinkumware.com/manuals/default.aspx?manual=compleat&page=string.html#strncpy | 13:44 |
troal01 | Thanks elPiola | 13:44 |
*** Alex| is now known as Alex|off | 14:20 | |
*** [1]Gerhard has joined #ingres | 14:23 | |
grantc | troal01, try this patch for the whitespace problem http://ingres.pastebin.com/m49b0dbe2 | 14:37 |
*** Alex|off is now known as Alex| | 14:39 | |
*** Gerhard has quit IRC | 14:42 | |
*** [1]Gerhard is now known as Gerhard | 14:42 | |
*** Gerhard has quit IRC | 14:43 | |
*** rossand has joined #ingres | 15:28 | |
*** ChanServ sets mode: +o rossand | 15:28 | |
*** DerMeister has joined #ingres | 16:32 | |
troal01 | grantc: want me to patch it against 2.1.0? | 16:39 |
grantc | it should patch against 2.1.0 or head revs | 16:40 |
*** NoeJeko has joined #ingres | 17:08 | |
troal01 | I have a feeling this is a bad thing? | 17:14 |
troal01 | php > $con = ingres_connect("test"); | 17:14 |
troal01 | php > $rsl = ingres_query($con, "select * from test"); | 17:14 |
troal01 | Segmentation fault | 17:14 |
grantc | with that patch? | 17:14 |
troal01 | Yeah | 17:14 |
troal01 | Let me run it through gdb | 17:14 |
troal01 | I'll give you some more info | 17:15 |
grantc | oh well, perhaps i should test it :) | 17:15 |
troal01 | It should be statement_ptr++;, not *statement_ptr++ I think | 17:17 |
troal01 | Okay I did that change, doesn't segfault now | 17:18 |
*** withdefault has left #ingres | 17:18 | |
troal01 | grantc: this seems to work: http://ingres.pastebin.com/m1c55df92 | 17:22 |
grantc | ok let me check | 17:23 |
grantc | thanks - that looks better | 17:26 |
troal01 | No problem :) | 17:33 |
*** withdefault has joined #ingres | 17:40 | |
*** ChanServ sets mode: +o withdefault | 17:40 | |
*** grantc is now known as grantc_offline | 19:00 | |
*** Alex| is now known as Alex|off | 19:04 | |
*** JoeNeko has joined #ingres | 20:48 | |
*** NoeJeko has quit IRC | 20:58 | |
*** elPiola has left #ingres | 22:25 | |
*** DerMeister has quit IRC | 22:41 | |
*** perftuning has quit IRC | 22:48 | |
*** withdefault has left #ingres | 23:35 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!