View previous topic :: View next topic |
Author |
Message |
GodBeastX
Joined: 09 Aug 2006 Posts: 65
|
Posted: Thu Oct 26, 2006 19:44 Post subject: MySQL Better Support? |
|
|
I'm sure someone made a change for this scenario, but I'm basically using NWNX2 out of the box. In the MySQL world you get a result handle as a return from a SELECT operation and all your fetches you pass in the handle. In NWNX2 you call the ODBC plugin which basically seems to use the last result of a query for the fetches.
Basically nested queries jack up cuz of the above. Has anyone made any ODBC changes to allow nested queries? Or should I Start making my own MySQL plugin? |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Nov 26, 2006 20:35 Post subject: |
|
|
I am not aware of a modification like this in NWNX2.
In NWNX4, it is possible to call statements like INSERT or UPDATE without overwriting the old result set, among other changes that improve performance. Maybe someone could make a backport from the current NWNX4 SQL plugins to the NWNX2 odbc plugins for Linux and Windows ?
Unfortunately, I do not have enough resources to do this on my own. _________________ Papillon |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Tue Nov 28, 2006 14:53 Post subject: |
|
|
I could. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Nov 28, 2006 15:45 Post subject: |
|
|
You might want to get acquainted with the current NWNX4 sources first, which are still under heavy modification. If they get more stable, a backport to NWN1 would be really nice ! _________________ Papillon |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Tue Nov 28, 2006 18:57 Post subject: |
|
|
This would be VERY nice. For my player market, I had to write SELECT returns as local psuedoarrays so that I could make other calls using the SELECT data.
Funky |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Tue Nov 28, 2006 22:37 Post subject: |
|
|
Papillon wrote: | You might want to get acquainted with the current NWNX4 sources first, which are still under heavy modification. If they get more stable, a backport to NWN1 would be really nice ! | I'll look through them, but most likely I'll just modify NWNX2-ODBC, not backport it from NWNX4.
Since I'm staying with NWN1 for the next year or so, I'll try to port NWNX4 and/or its plugins to NWN1 if they are useful and stable.
Maybe I'll make something for NWNX4 (port nwnx_chat, for example) too. |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Tue Nov 28, 2006 23:56 Post subject: |
|
|
virusman wrote: |
Maybe I'll make something for NWNX4 (port nwnx_chat, for example) too. |
Yes PLEASE. I'll beg if needed.
Funky |
|
Back to top |
|
|
|