Friday, 2009-02-27

*** mull_ has quit IRC00:46
*** elPiola has quit IRC04:29
*** elPiola has joined #ingres04:29
*** perftuning has quit IRC04:46
*** clach04 has quit IRC05:26
*** clach04 has joined #ingres05:26
*** Alex|off is now known as Alex|06:55
*** Gerhard has joined #ingres08:45
grantcmorning all11:13
grantcAlex|, do you know if Paul has looked at that update to the PHP driver I gave him?11:13
grantchttp://www.youtube.com/watch?v=A_B5UrI7nAI - Obama's Elf ...11:35
pborodamnit, Ingres JDBC driver doesn't work with Crystal Reports11:35
pboroIt says "No MST is currently in progress, cannot declare another cursor", what ever that means... *googl*11:36
grantcingres only allows for a single cursor open with auto commit11:37
grantcin the URL put AUTO=multi11:37
grantccorrection ingres closes cursors with autocommit,11:38
grantcyou need that setting to emulate auto-commit11:38
pboroOkay, I'll try that11:39
grantcif you are using 2.6 you might want CURSOR=READONLY as well11:39
pboro2006 R311:40
grantcit should be on by default then11:40
pborogrr... I have the iijdbc driver since it doesn't work as per jdbc specification11:47
pborohate even11:47
grantc?11:48
pboroit's compulsory to tell the port of the database including the database you want to connect in the connection url11:48
pborowhich 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 url11:49
grantcthat's not a jdbc issue thats Ingres11:49
pboroyeah I could open an issue about it, will do if I have the motivation :D11:49
pborooh, it's a limitation in Ingres? doh11:49
grantci have the same issue, to resolve, with the php driver11:50
GerhardHi all11:50
grantcno idea how I will do it, short of disconnect here, connect there ...11:50
grantchi Gerhard11:50
Gerhardpboro: which release of Crystal Reports did you use to test iijdbc.jar? Crystal 2008?11:51
pboroGerhard, that one. Still testing :)11:51
pborograntc, AUTO=multi helped, I can get into the db now11:52
grantccool11:52
grantcone could argue that should be on by default but I believe there are implications...11:52
pboroyup12:21
*** perftuning has joined #ingres12:47
grantcthe 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
troal01Thanks grantc13:01
grantcnp13:02
grantcbtw i have not looked at your bug yet. I will add it to the list13:02
troal01Thank you :)13:05
troal01Isn't strncpy supposed to null delimit my char?13:31
*** grantc is now known as grantc_offline13:31
*** grantc_offline is now known as grantc13:38
elPiolatroal01, no.  see http://dinkumware.com/manuals/default.aspx?manual=compleat&page=string.html#strncpy13:44
troal01Thanks elPiola13:44
*** Alex| is now known as Alex|off14:20
*** [1]Gerhard has joined #ingres14:23
grantctroal01, try  this patch for the whitespace problem http://ingres.pastebin.com/m49b0dbe214:37
*** Alex|off is now known as Alex|14:39
*** Gerhard has quit IRC14:42
*** [1]Gerhard is now known as Gerhard14:42
*** Gerhard has quit IRC14:43
*** rossand has joined #ingres15:28
*** ChanServ sets mode: +o rossand15:28
*** DerMeister has joined #ingres16:32
troal01grantc: want me to patch it against 2.1.0?16:39
grantcit should patch against 2.1.0 or head revs16:40
*** NoeJeko has joined #ingres17:08
troal01I have a feeling this is a bad thing?17:14
troal01php > $con = ingres_connect("test");17:14
troal01php > $rsl = ingres_query($con, "select * from test");17:14
troal01Segmentation fault17:14
grantcwith that patch?17:14
troal01Yeah17:14
troal01Let me run it through gdb17:14
troal01I'll give you some more info17:15
grantcoh well, perhaps i should test it :)17:15
troal01It should be statement_ptr++;, not *statement_ptr++ I think17:17
troal01Okay I did that change, doesn't segfault now17:18
*** withdefault has left #ingres17:18
troal01grantc: this seems to work: http://ingres.pastebin.com/m1c55df9217:22
grantcok let me check17:23
grantcthanks - that looks better17:26
troal01No problem :)17:33
*** withdefault has joined #ingres17:40
*** ChanServ sets mode: +o withdefault17:40
*** grantc is now known as grantc_offline19:00
*** Alex| is now known as Alex|off19:04
*** JoeNeko has joined #ingres20:48
*** NoeJeko has quit IRC20:58
*** elPiola has left #ingres22:25
*** DerMeister has quit IRC22:41
*** perftuning has quit IRC22:48
*** withdefault has left #ingres23:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!