Raiford | 25 Feb 16:01 2015

ODBC Scalar Function RIGHT() maps to rtrunc()?

When using the RIGHT() ODBC scalar function, I'm getting an error:

ERROR: function rtrunc(integer, integer) does not exist;

I know the odbc.sql file contained in the source used to include rtrunc(), but it no longer does.  Also it seems it is not used anyway (are we supposed to create these functions on each database we want to use the ODBC driver?).

Am I missing something?

PostgreSQL version:
PostgreSQL 9.3.6 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, 64-bit

ODBC driver version:
9.01.01.00

btw, I know that my ODBC driver version is a bit out of date, but looking at the source it seems that this RIGHT->rtrunc mapping is still in place.

Jon
Faith, Jeremy | 24 Feb 16:03 2015

Re: [PATCH] SQLFreeStmt deletes params, but does not reset the stmt->prepared state.

Hi,

I also found this issue with the PHP odbc extension which uses SQL_RESET_PARAMS.
It causes the following error on the second odbc_execute() call.
  PHP Warning:  odbc_execute(): SQL error: Unfortunatley couldn't get this
                paramater's info, SQL state S1000 in SQLDescribeParameter


>Hi Oliver,
>
>On 2014/10/17 19:07, Oliver Freyd wrote:
>> Hello,
>>
>> In ResolveOneParam (convert.c:4586) there is code that converts boolean
>> '-1' to '1'. This is necessary for MS Access because it uses -1 as true
>> representation.
>>
>> In my application, an Access 2013 frontend with a postgresql backend,
>> sometimes this conversion did not work, and the backend would fail like
>> this:
>>
>> invalid input syntax for type boolean: "-1" at character 399
>>
>> The statement is like this:
>>
>> DELETE FROM "public"."someview" WHERE "id" = 13020
>> AND ... "someboolean" = '-1' ...
>>
>> This does not happen always, and I've seen it only in DELETE queries,
>> when I try to delete a row that has a checkbox that is checked (true).
>> The first try always works, the second try (deleting another row) it fails.
>>
>> Now this is how it fails (IMHO):
>>
>> The ResolveOneParam() function relies on the correct types being
>> assigned to the parameters, In qb->ipdopts->parameters there is
>> SQLType and PGType. The SQLType is and enum that does not contain
>> boolean, only the PGType can be boolean.
>>
>> In PGAPI_Execute() (execute.c:1025) it calls prepareParameters, where
>> the PGTypes are found (don't know how exactly), and put into the stmt,
>> as stmt->ipd->ipdf.parameters.
>>
>> If the PGTypes are not 0, the query runs fine. The second time
>> the query is executed, the query is already prepared (stmt->prepared=5)
>> and the prepare step is omitted. But then the PGTypes are missing,
>> the bool '-1' -> '1' conversion is not done and the query fails.
>>
>> It turns out Access calls SQLFreeStmt(option=SQL_RESET_PARAMS),
>> that does SC_free_params, so the params get deleted.
>>
>> But the params contain the result of the prepare call,
>> so IMHO the stmt->prepared state is now wrong, the transaction is no
>> more prepared, so stmt->prepared should be reset to 0.
>>
>> And that actually fixes the bug.
>>
>>
>> I hope this is useful, it took quite a while to track this down...
>
>Thank you for your investigation.
>
>According to the following pages
>  http://msdn.microsoft.com/en-us/library/ms709284%28v=vs.85%29.aspx
>  http://msdn.microsoft.com/en-us/library/ms710926%28v=vs.85%29.aspx
>
>, it seems better to reset APD only keeping IPD intact.
>
>Comments?


I tried Oliver's patch and PHP no longer has a problem.
Inserting 100,000 rows into a simple table takes 47.6s
No sign of any memory leak.

On the other hand commenting out the IPD_free_params() call also works.
Same 100,000 inserts take 34.1s, so significantly faster.
Again no sign of a memory leak. I also tried prepare,execute,free 100K times, much slower but again no sign of a memory leak.

I think the SC_Destructor() function will free the IPD params if nothing else does. So, unless there is some other path that could cause a leak, I would say just commenting out the IPD_free_params() call is a better solution.

Regards,
Jeremy Faith

>
>regards,
>Hiroshi Inoue
>
>> best regards,
>>
>>      Oliver Freyd
>>
>> -----------------------------------------------------------------------
>> diff --git a/statement.c b/statement.c
>> index da5abf5..a019d5d 100644
>> --- a/statement.c
>> +++ b/statement.c
>> <at> <at> -581,6 +581,7 <at> <at> SC_free_params(StatementClass *self, char option)
>>       {
>>           APD_free_params(SC_get_APDF(self), option);
>>           IPD_free_params(SC_get_IPDF(self), option);
>> +        if (self->prepared!=NOT_YET_PREPARED)\
>> SC_set_prepared(self, NOT_YET_PREPARED);
>>       }
>>       PDATA_free_params(SC_get_PDTI(self), option);
>>       self->data_at_exec = -1;
>>
>>
>>
Tyco Safety Products/CEM Systems Ltd.

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.
Ants Aasma | 10 Feb 23:39 2015
Picon

Since 09.03.0400 need to link to secur32.lib on Windows?

Hi,

I'm getting linker errors for GetUserNameExA when building on Win7SP1
with SDK7.1. Quick googling shows that this function comes from
secur32.lib. Indeed, adding it to CUSTOMLINKLIBS makes it build,
although I haven't tested if it still works yet. I'm not too
comfortable in Windows build systems to come up with a patch.

References were introduced by these two commits:
e85fbb2 refs/heads/master Use libpq for everything.
c4149c9 refs/tags/REL-09_03_0400 Additonal improvement on MSDTC enlistment.

Regards,
Ants Aasma
-- 
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de

--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

psqlodbc-bugs | 2 Feb 19:39 2015

[psqlodbc-Bugs][1002767] Fatal exception error after running some queries

psqlodbc-Bugs item #1002767, was changed at 2015-02-02 20:38 by Heikki Linnakangas
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1002767&group_id=1000125
Or by replying to this e-mail entering your response between the following markers: 
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here, only in plain text format)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+

Status: Closed
Priority: 3
Submitted By: Andrus Moor (kobruleht)
Assigned to: Nobody (None)
Summary: Fatal exception error after running some queries 
Category: None
Group: None
Resolution: Out of Date
Category: None
Group: None
Resolution: None

Initial Comment:
To reproduce:

Run some queries from Microsoft Visual FoxPro 9.0 SP1 against ODBC driver 
Log file containing queries and data is included.

Observed:

FoxPro crashes with access violation error.

Fatal error: Exception code=C0000005  <at>   14:23:46. Error log file: C:\eetasoft\algus\VFP9Rerr.log
	Called from -  read_events line 0  { c:\eetasoft\algus\alguss.exe}
	Called from -  alguss line 0  { c:\eetasoft\algus\alguss.exe}

Reproducible:

This is reproducible always in different computers.
I can create exact repro if required.

----------------------------------------------------------------------

>Comment By: Heikki Linnakangas (hlinnaka)
Date: 2015-02-02 20:38

Message:
Oh, ok.

If you could enable the Windows ODBC tracing option and send over the generated log, that might help. I'm not
too excited about testing this with FoxPro, but I could try to reproduce the same sequence of calls with a
little test program, based on the trace log.

Could you also set Debug=1 in the driver config and send over the mylog_* files it generates, please?

----------------------------------------------------------------------

Comment By: Andrus Moor (kobruleht)
Date: 2015-01-22 15:02

Message:
I verified that this issue still occurs in
09.03.0400

I occurs after some time after viewing different queries.

There are no exact steps yet.
After running application and working working with it it occurs after some time.
Re-running application and re-entering last commands does not reproduce it.
It occurs again after some time.

 I can install odbc driver with advanced logging and send log if this helps.
Using 32 bit odbc driver in Windows 7 x64

----------------------------------------------------------------------

Comment By: Heikki Linnakangas (hlinnaka)
Date: 2015-01-22 09:24

Message:
Hiroshi may have fixed this per the comment, and we have no reproducer script. Probably not an issue anymore..

----------------------------------------------------------------------

Comment By: Andrus Moor (kobruleht)
Date: 2007-04-05 22:39

Message:
This probem exists in last snapshot also. Log included.
It seems that fatal exception occurs inside closed source 
product, not inside driver.
I'm no idea how you can research this.

I created server account for you so you can try without 
installing database.

How to send logon credidentials by e-mail ?

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2007-04-04 04:33

Message:
I found a buffer overrun bug.
It may be related to your problem.

Could you try the snapshot driver ?

regards
Hiroshi Inoue

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2007-03-27 05:47

Message:
Could you send me the reproducible example ?
It would be better if it's more simpler.

regards,
Hiroshi Inoue

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1002767&group_id=1000125

--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Sandeep CHAYANAM | 2 Feb 17:32 2015

PostgreSQL ODBC drivers question

Hi,

 

I was wondering which of the following from the below is 32 bit driver installer & a 64 bit driver installer?

 

http://www.postgresql.org/ftp/odbc/versions/msi/

 

 

 

Also , is the below one a 64 bit driver installer?

 

 

 

Thanks in advance for your help.

 

Regards,

Sandeep.

 


___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.

Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.

Michael Paquier | 29 Jan 05:27 2015
Picon

Build broken since 9aaa062 because of missing isnan and isinf

Hi,

As mentioned in $subject, build of regression tests is broken on
Windows as follows:
.\src\common.obj
result-conversions-test.obj : error LNK2019: unresolved external
symbol isinf referenced in function printdouble
result-conversions-test.obj : error LNK2019: unresolved external
symbol isnan referenced in function printdouble
.\src\result-conversions-test.exe : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\Bin\amd64\cl.EXE"' : return code '0x2'
Stop.
I think that we are going to need something like the patch attached to
define explicitly isnan and isinf.
Regards,
-- 
Michael

--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Heikki Linnakangas | 28 Jan 12:42 2015

Regression tests

Hi,

Last weekend I tried to run the regression tests on a different system 
than what I usually use, but it failed because the system didn't have 
pg_regress installed. It had a PostgreSQL server running, and it had 
libpq and libpq header files, but pg_regress and the rest of the PGXS 
system was not included in those OS packages.

It was easy enough to install the right packages (apt-get install ...), 
but it's nevertheless a bit silly that we depend on PGXS and pg_regress. 
When I wrote the regression suite, I actually had to jump through some 
hoops to use pg_regress in the first place. There's the ugly hack where 
"make installcheck" creates the .sql files that just run the test binaries.

Using pg_regress also means that the ODBC.ini file must agree with the 
current PGHOST etc. settings. Otherwise psql will fail to connect even 
if odbc.ini is correct, or worse, it will connect to a different server.

I've also been trying to make it easier to run the regression tests on 
Windows. Using psql and pg_regress is a bit of pain there, and again it 
requires that you have those installed on the build machine, which isn't 
a given.

For these reasons, I propose to refactor the way the regression tests 
are launched. I wrote a small C utility to basically replace pg_regress. 
It runs the test programs, compares their outputs with the expected 
outputs, and runs "diff" to create regression.diffs file if they don't 
match. It produces TAP-compatible output, which is nice because you can 
use a frontend like perl 'prove' program to pretty-print it with colors 
and everything, and you can easily integrate it with tools like Jenkins. 
But it's also quite human-readable without any such tools.

Patch attached. Any objections?

The second patch adds a .vcproj file for MSVC, for running the 
regression tests, and a -RegressionTests option to the BuildAll command 
to run the regression tests after building the drivers. There are a few 
regression failures on Windows, so you won't get a clean pass, but at 
least it's much easier to run the tests with this.

- Heikki

--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Heikki Linnakangas | 26 Jan 09:36 2015

Let's get rid of premature execution

Hi,

Under some circumstances, the driver currently does so-called "premature 
execution". This means that when the application does something like this:

SQLPrepare("SELECT function()");
SQLNumResultCols();

but does not run SQLExecute(), the driver executes the statement anyway. 
This is documented, and there's an option to disable this 
(DisallowPremature=1), and it only happens with UseServerSidePrepare=0,
and only with statements starting with SELECT, but IMHO it's 
nevertheless scary as hell.

Currently, with DisallowPremature=1, the driver simply does not return 
any information for calls like SQLNumResultCols() that are called before 
SQLExecute().

I propose changes to this:

1. The driver should never do premature execution. That's just evil. 
Remove DisallowPremature option.

2. When SQLNumResultCols() is called before SQLExecute(), the driver 
will parse and describe the query in the server, even if 
UseServerSidePrepare=0. This does not affect how the query will be 
executed later. In the query that is sent to the server, the parameter 
markers are replaced with NULLs, similar to how they are replaced with 
the real values later when the query is executed. (This code exists 
already; we did the same thing in DisallowPremature mode when we sent 
the "dummy cursor" query, e.g. "BEGIN; DECLARE foo CURSOR FOR <real 
query>; FETCH 1 backwards;").

Patch attached. This simplifies the code a little bit, removes the scary 
premature execution, and allows us to always return column information 
before SQLExecute().

The Parse + Describe didn't work before protocol version 3, but we 
already decided that we already dropped support for version 2 in commit 
341a6fcc.

- Heikki

--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Heikki Linnakangas | 26 Jan 08:07 2015

Coverity and Clang Static Analyzer runs

I registered psqlodbc for the Coverity Scan program at 
scan.coverity.org, and performed the initial run. I fixed a bunch of 
issues that it pointed out.

I also ran Clang Static Analyzer, which pointed out some of the same 
issues as Coverity did, and a few others. I've fixed a bunch of those too.

If you'd like to help out weeding the Coverity defects, sign up at 
scan.coverity.org. A few dozen defects remain, most of which seem to be 
false positives at a quick glance. For now, I plan to run it manually on 
my laptop every now and then.

- Heikki

--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

psqlodbc-bugs | 22 Jan 08:23 2015

[psqlodbc-Bugs][1000790] String data field with only 1 letter length

psqlodbc-Bugs item #1000790, was changed at 2015-01-22 09:23 by Heikki Linnakangas
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000790&group_id=1000125
Or by replying to this e-mail entering your response between the following markers: 
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here, only in plain text format)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+

>Status: Closed
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: String data field with only 1 letter length 
Category: None
Group: None
>Resolution: Out of Date
Category: None
Group: None
>Resolution: None


Initial Comment:
PostgreSQL 8.1.3
psqlODBC 8.02.02.00 Unicode

I use MFC (suppose to be 8.0 on VisualStudio 2005) CDatabase and CRecordset to retrieve data from a postgre database.
When the ODBC driver retrieve the data field type text that contain only 1 letter, CDBException is raised with return code is 100

If I make the data 2 characters or more then it's ok

Putting data into the table is also ok.

I check the database with postgre admin, and the database look fine as the way it suppose to be.

Below is the log from the TRACE tool of ODBC Data Source Administrator


RestMenu        b14-34c	ENTER SQLAllocEnv 
		HENV *              0015F7DC

RestMenu        b14-34c	EXIT  SQLAllocEnv  with return code 0 (SQL_SUCCESS)
		HENV *              0x0015F7DC ( 0x00e11690)

RestMenu        b14-34c	ENTER SQLAllocConnect 
		HENV                00E11690
		HDBC *              00448B94

RestMenu        b14-34c	EXIT  SQLAllocConnect  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC *              0x00448B94 ( 0x00e11758)

RestMenu        b14-34c	ENTER SQLSetConnectOptionW 
		HDBC                00E11758
		SQLINTEGER                 103 <SQL_LOGIN_TIMEOUT>
		SQLPOINTER          0x0000000F

RestMenu        b14-34c	EXIT  SQLSetConnectOptionW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		SQLINTEGER                 103 <SQL_LOGIN_TIMEOUT>
		SQLPOINTER          0x0000000F (BADMEM)

RestMenu        b14-34c	ENTER SQLDriverConnectW 
		HDBC                00E11758
		HWND                00010014
		WCHAR *             0x74329A38 [      -3] "******\ 0"
		SWORD                       -3 
		WCHAR *             0x74329A38 
		SWORD                        2 
		SWORD *             0x00000000
		UWORD                        1 <SQL_DRIVER_COMPLETE>

RestMenu        b14-34c	EXIT  SQLDriverConnectW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		HWND                00010014
		WCHAR *             0x74329A38 [      -3] "******\ 0"
		SWORD                       -3 
		WCHAR *             0x74329A38 
		SWORD                        2 
		SWORD *             0x00000000
		UWORD                        1 <SQL_DRIVER_COMPLETE>

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                        9 <SQL_ODBC_API_CONFORMANCE>
		PTR                 0x0012FB78
		SWORD                        2 
		SWORD *             0x0012FB70

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                        9 <SQL_ODBC_API_CONFORMANCE>
		PTR                 0x0012FB78 (1)
		SWORD                        2 
		SWORD *             0x0012FB70 (2)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       15 <SQL_ODBC_SQL_CONFORMANCE>
		PTR                 0x0012FB74
		SWORD                        2 
		SWORD *             0x0012FB70

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       15 <SQL_ODBC_SQL_CONFORMANCE>
		PTR                 0x0012FB74 (1)
		SWORD                        2 
		SWORD *             0x0012FB70 (2)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       79 <SQL_POS_OPERATIONS>
		PTR                 0012FAEC
		SWORD                        4 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       79 <SQL_POS_OPERATIONS>
		PTR                 0012FAEC
		SWORD                        4 
		SWORD *             0x0012FAE4 (4)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       80 <SQL_POSITIONED_STATEMENTS>
		PTR                 0012FAF0
		SWORD                        4 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       80 <SQL_POSITIONED_STATEMENTS>
		PTR                 0012FAF0
		SWORD                        4 
		SWORD *             0x0012FAE4 (4)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       46 <SQL_TXN_CAPABLE>
		PTR                 0x0012FAD8
		SWORD                        2 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       46 <SQL_TXN_CAPABLE>
		PTR                 0x0012FAD8 (2)
		SWORD                        2 
		SWORD *             0x0012FAE4 (2)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       23 <SQL_CURSOR_COMMIT_BEHAVIOR>
		PTR                 0x00448BDA
		SWORD                        2 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       23 <SQL_CURSOR_COMMIT_BEHAVIOR>
		PTR                 0x00448BDA (2)
		SWORD                        2 
		SWORD *             0x0012FAE4 (2)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       24 <SQL_CURSOR_ROLLBACK_BEHAVIOR>
		PTR                 0x00448BDC
		SWORD                        2 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       24 <SQL_CURSOR_ROLLBACK_BEHAVIOR>
		PTR                 0x00448BDC (2)
		SWORD                        2 
		SWORD *             0x0012FAE4 (2)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       82 <SQL_BOOKMARK_PERSISTENCE>
		PTR                 00448BE4
		SWORD                        4 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       82 <SQL_BOOKMARK_PERSISTENCE>
		PTR                 00448BE4
		SWORD                        4 
		SWORD *             0x0012FAE4 (4)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       81 <SQL_GETDATA_EXTENSIONS>
		PTR                 0012FAE8
		SWORD                        4 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       81 <SQL_GETDATA_EXTENSIONS>
		PTR                 0012FAE8
		SWORD                        4 
		SWORD *             0x0012FAE4 (4)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       25 <SQL_DATA_SOURCE_READ_ONLY>
		PTR                 0x0012FAC4 
		SWORD                       20 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       25 <SQL_DATA_SOURCE_READ_ONLY>
		PTR                 0x0012FAC4 [       2] "N"
		SWORD                       20 
		SWORD *             0x0012FAE4 (2)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       29 <SQL_IDENTIFIER_QUOTE_CHAR>
		PTR                 0x0012FAE0 
		SWORD                        4 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       29 <SQL_IDENTIFIER_QUOTE_CHAR>
		PTR                 0x0012FAE0 [       2] """
		SWORD                        4 
		SWORD *             0x0012FAE4 (2)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       17 <SQL_DBMS_NAME>
		PTR                 0x0012FAF4 
		SWORD                      128 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       17 <SQL_DBMS_NAME>
		PTR                 0x0012FAF4 [      20] "PostgreSQL"
		SWORD                      128 
		SWORD *             0x0012FAE4 (20)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       18 <SQL_DBMS_VER>
		PTR                 0x0012FAF4 
		SWORD                      128 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HDBC                00E11758
		UWORD                       18 <SQL_DBMS_VER>
		PTR                 0x0012FAF4 [     128] "08.01.0200 PostgreSQL 8.1.3 on i686-pc-mingw32, compiled by GCC "
		SWORD                      128 
		SWORD *             0x0012FAE4 (164)

		DIAG [01004] The buffer was too small for the InfoValue. (215) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00000000
		WCHAR *             0x0012F600 (NYI) 
 		SDWORD *            0x0012FA24
		WCHAR *             0x0012F620 
		SWORD                      511 
		SWORD *             0x0012F614

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00000000
		WCHAR *             0x0012F600 (NYI) 
 		SDWORD *            0x0012FA24
		WCHAR *             0x0012F620 
		SWORD                      511 
		SWORD *             0x0012F614

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       10 <SQL_ODBC_VER>
		PTR                 0x0012FAF4 
		SWORD                      128 
		SWORD *             0x0012FAE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       10 <SQL_ODBC_VER>
		PTR                 0x0012FAF4 [      20] "03.52.0000"
		SWORD                      128 
		SWORD *             0x0012FAE4 (20)

RestMenu        b14-34c	ENTER SQLAllocStmt 
		HDBC                00E11758
		HSTMT *             0012EDF8

RestMenu        b14-34c	EXIT  SQLAllocStmt  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		HSTMT *             0x0012EDF8 ( 0x00e11cf8)

RestMenu        b14-34c	ENTER SQLNumResultCols 
		HSTMT               00E11CF8
		SWORD *             0x0012EBF8

RestMenu        b14-34c	EXIT  SQLNumResultCols  with return code -1 (SQL_ERROR)
		HSTMT               00E11CF8
		SWORD *             0x0012EBF8

		DIAG [S1010] [Microsoft][ODBC Driver Manager] Function sequence error (0) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E784 (NYI) 
 		SDWORD *            0x0012EBA8
		WCHAR *             0x0012E7A4 
		SWORD                      511 
		SWORD *             0x0012E798

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E784 (NYI) 
 		SDWORD *            0x0012EBA8 (0)
		WCHAR *             0x0012E7A4 [      56] "[Microsoft][ODBC Driver Manager] Function sequence error"
		SWORD                      511 
		SWORD *             0x0012E798 (56)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E784 (NYI) 
 		SDWORD *            0x0012EBA8
		WCHAR *             0x0012E7A4 
		SWORD                      511 
		SWORD *             0x0012E798

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E784 (NYI) 
 		SDWORD *            0x0012EBA8
		WCHAR *             0x0012E7A4 
		SWORD                      511 
		SWORD *             0x0012E798

RestMenu        b14-34c	ENTER SQLSetStmtOption 
		HSTMT               00E11CF8
		UWORD                        0 <SQL_QUERY_TIMEOUT>
		SQLPOINTER          0x0000000F

RestMenu        b14-34c	EXIT  SQLSetStmtOption  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        0 <SQL_QUERY_TIMEOUT>
		SQLPOINTER          0x0000000F (BADMEM)

RestMenu        b14-34c	ENTER SQLGetFunctions 
		HDBC                00E11758
		UWORD                       59 
		UWORD *             0x0012EBA8

RestMenu        b14-34c	EXIT  SQLGetFunctions  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       59 
		UWORD *             0x0012EBA8 (1)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       10 <SQL_ODBC_VER>
		PTR                 0x0012EBB0 
		SWORD                       60 
		SWORD *             0x0012EBAC

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       10 <SQL_ODBC_VER>
		PTR                 0x0012EBB0 [      20] "03.52.0000"
		SWORD                       60 
		SWORD *             0x0012EBAC (20)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       44 <SQL_SCROLL_OPTIONS>
		PTR                 0012EBE8
		SWORD                        4 
		SWORD *             0x0012EBE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       44 <SQL_SCROLL_OPTIONS>
		PTR                 0012EBE8
		SWORD                        4 
		SWORD *             0x0012EBE4 (4)

RestMenu        b14-34c	ENTER SQLGetInfoW 
		HDBC                00E11758
		UWORD                       43 <SQL_SCROLL_CONCURRENCY>
		PTR                 0012EEA0
		SWORD                        4 
		SWORD *             0x0012EBE4

RestMenu        b14-34c	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                00E11758
		UWORD                       43 <SQL_SCROLL_CONCURRENCY>
		PTR                 0012EEA0
		SWORD                        4 
		SWORD *             0x0012EBE4 (4)

RestMenu        b14-34c	ENTER SQLSetStmtOption 
		HSTMT               00E11CF8
		UWORD                        6 <SQL_CURSOR_TYPE>
		SQLPOINTER          0x00000003

RestMenu        b14-34c	EXIT  SQLSetStmtOption  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        6 <SQL_CURSOR_TYPE>
		SQLPOINTER          0x00000003 (BADMEM)

RestMenu        b14-34c	ENTER SQLSetStmtOption 
		HSTMT               00E11CF8
		UWORD                        7 <SQL_CONCURRENCY>
		SQLPOINTER          0x00000001

RestMenu        b14-34c	EXIT  SQLSetStmtOption  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        7 <SQL_CONCURRENCY>
		SQLPOINTER          0x00000001 (BADMEM)

RestMenu        b14-34c	ENTER SQLPrepareW 
		HSTMT               00E11CF8
		WCHAR *             0x00359A68 [      -3] "SELECT * FROM "Menu"\ 0"
		SDWORD                    -3

RestMenu        b14-34c	EXIT  SQLPrepareW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		WCHAR *             0x00359A68 [      -3] "SELECT * FROM "Menu"\ 0"
		SDWORD                    -3

RestMenu        b14-34c	ENTER SQLExecute 
		HSTMT               00E11CF8

RestMenu        b14-34c	EXIT  SQLExecute  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8

RestMenu        b14-34c	ENTER SQLNumResultCols 
		HSTMT               00E11CF8
		SWORD *             0x0012EE24

RestMenu        b14-34c	EXIT  SQLNumResultCols  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		SWORD *             0x0012EE24 (7)

RestMenu        b14-34c	ENTER SQLDescribeColW 
		HSTMT               00E11CF8
		UWORD                        1 
		WCHAR *             0x00359C68 
		SWORD                      256 
		SWORD *             0x0012EC04
		SWORD *             0x00359BB0
		SQLULEN *           0x00359BB4
		SWORD *             0x00359BB8
		SWORD *             0x00359BBA

RestMenu        b14-34c	EXIT  SQLDescribeColW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 
		WCHAR *             0x00359C68 [       6] "ItemID"
		SWORD                      256 
		SWORD *             0x0012EC04 (6)
		SWORD *             0x00359BB0 (4)
		SQLULEN *           0x00359BB4 (10)
		SWORD *             0x00359BB8 (0)
		SWORD *             0x00359BBA (1)

RestMenu        b14-34c	ENTER SQLDescribeColW 
		HSTMT               00E11CF8
		UWORD                        2 
		WCHAR *             0x00359EB8 
		SWORD                      256 
		SWORD *             0x0012EC04
		SWORD *             0x00359BC0
		SQLULEN *           0x00359BC4
		SWORD *             0x00359BC8
		SWORD *             0x00359BCA

RestMenu        b14-34c	EXIT  SQLDescribeColW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        2 
		WCHAR *             0x00359EB8 [       8] "Category"
		SWORD                      256 
		SWORD *             0x0012EC04 (8)
		SWORD *             0x00359BC0 (-10)
		SQLULEN *           0x00359BC4 (8190)
		SWORD *             0x00359BC8 (0)
		SWORD *             0x00359BCA (1)

RestMenu        b14-34c	ENTER SQLDescribeColW 
		HSTMT               00E11CF8
		UWORD                        3 
		WCHAR *             0x0035A108 
		SWORD                      256 
		SWORD *             0x0012EC04
		SWORD *             0x00359BD0
		SQLULEN *           0x00359BD4
		SWORD *             0x00359BD8
		SWORD *             0x00359BDA

RestMenu        b14-34c	EXIT  SQLDescribeColW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        3 
		WCHAR *             0x0035A108 [       4] "Desc"
		SWORD                      256 
		SWORD *             0x0012EC04 (4)
		SWORD *             0x00359BD0 (-10)
		SQLULEN *           0x00359BD4 (8190)
		SWORD *             0x00359BD8 (0)
		SWORD *             0x00359BDA (1)

RestMenu        b14-34c	ENTER SQLDescribeColW 
		HSTMT               00E11CF8
		UWORD                        4 
		WCHAR *             0x0035D018 
		SWORD                      256 
		SWORD *             0x0012EC04
		SWORD *             0x00359BE0
		SQLULEN *           0x00359BE4
		SWORD *             0x00359BE8
		SWORD *             0x00359BEA

RestMenu        b14-34c	EXIT  SQLDescribeColW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        4 
		WCHAR *             0x0035D018 [      13] "ImageLocation"
		SWORD                      256 
		SWORD *             0x0012EC04 (13)
		SWORD *             0x00359BE0 (-10)
		SQLULEN *           0x00359BE4 (8190)
		SWORD *             0x00359BE8 (0)
		SWORD *             0x00359BEA (1)

RestMenu        b14-34c	ENTER SQLDescribeColW 
		HSTMT               00E11CF8
		UWORD                        5 
		WCHAR *             0x0035D268 
		SWORD                      256 
		SWORD *             0x0012EC04
		SWORD *             0x00359BF0
		SQLULEN *           0x00359BF4
		SWORD *             0x00359BF8
		SWORD *             0x00359BFA

RestMenu        b14-34c	EXIT  SQLDescribeColW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        5 
		WCHAR *             0x0035D268 [       5] "Price"
		SWORD                      256 
		SWORD *             0x0012EC04 (5)
		SWORD *             0x00359BF0 (7)
		SQLULEN *           0x00359BF4 (7)
		SWORD *             0x00359BF8 (0)
		SWORD *             0x00359BFA (1)

RestMenu        b14-34c	ENTER SQLDescribeColW 
		HSTMT               00E11CF8
		UWORD                        6 
		WCHAR *             0x0035D4B8 
		SWORD                      256 
		SWORD *             0x0012EC04
		SWORD *             0x00359C00
		SQLULEN *           0x00359C04
		SWORD *             0x00359C08
		SWORD *             0x00359C0A

RestMenu        b14-34c	EXIT  SQLDescribeColW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        6 
		WCHAR *             0x0035D4B8 [      13] "IsKitchenItem"
		SWORD                      256 
		SWORD *             0x0012EC04 (13)
		SWORD *             0x00359C00 (1)
		SQLULEN *           0x00359C04 (1)
		SWORD *             0x00359C08 (0)
		SWORD *             0x00359C0A (1)

RestMenu        b14-34c	ENTER SQLDescribeColW 
		HSTMT               00E11CF8
		UWORD                        7 
		WCHAR *             0x0035D708 
		SWORD                      256 
		SWORD *             0x0012EC04
		SWORD *             0x00359C10
		SQLULEN *           0x00359C14
		SWORD *             0x00359C18
		SWORD *             0x00359C1A

RestMenu        b14-34c	EXIT  SQLDescribeColW  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        7 
		WCHAR *             0x0035D708 [      13] "IsQtyInWeight"
		SWORD                      256 
		SWORD *             0x0012EC04 (13)
		SWORD *             0x00359C10 (1)
		SQLULEN *           0x00359C14 (1)
		SWORD *             0x00359C18 (0)
		SWORD *             0x00359C1A (1)

RestMenu        b14-34c	ENTER SQLExtendedFetch 
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC
		UWORD *             0x0035C980

RestMenu        b14-34c	EXIT  SQLExtendedFetch  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC (1)
		UWORD *             0x0035C980 (0)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A398 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A398 [       4] "P\ 0"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (6)

		DIAG [01004] The buffer was too small for the GetData. (-2) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94 (-2)
		WCHAR *             0x0012E690 [      41] "The buffer was too small for the GetData."
		SWORD                      511 
		SWORD *             0x0012E684 (41)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A39A 
		SQLLEN                     6
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A39A [       4] "h?"
		SQLLEN                     6
		SQLLEN *            0x0012EAE8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A398 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A398 [       4] "P\ 0"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (24)

		DIAG [01004] The buffer was too small for the GetData. (-2) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94 (-2)
		WCHAR *             0x0012E690 [      41] "The buffer was too small for the GetData."
		SWORD                      511 
		SWORD *             0x0012E684 (41)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035D95A 
		SQLLEN                    24
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035D95A [      22] "h? \ff?t Bi?t"
		SQLLEN                    24
		SQLLEN *            0x0012EAE8 (22)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        4 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A358 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        4 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035A358 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (0)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        5 
		SWORD                        7 <SQL_C_FLOAT>
		PTR                 <unknown type>
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        5 
		SWORD                        7 <SQL_C_FLOAT>
		PTR                 <unknown type>
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        6 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035A398 
		SQLLEN                     2
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        6 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035A398 [       1] "1"
		SQLLEN                     2
		SQLLEN *            0x0012EAF8 (1)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        7 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035A398 
		SQLLEN                     2
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        7 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035A398 [       1] "0"
		SQLLEN                     2
		SQLLEN *            0x0012EAF8 (1)

RestMenu        b14-34c	ENTER SQLExtendedFetch 
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC
		UWORD *             0x0035C980

RestMenu        b14-34c	EXIT  SQLExtendedFetch  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC (1)
		UWORD *             0x0035C980 (0)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DAD0 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DAD0 [       4] "P\ 0"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (6)

		DIAG [01004] The buffer was too small for the GetData. (-2) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94 (-2)
		WCHAR *             0x0012E690 [      41] "The buffer was too small for the GetData."
		SWORD                      511 
		SWORD *             0x0012E684 (41)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DAD2 
		SQLLEN                     6
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DAD2 [       4] "h?"
		SQLLEN                     6
		SQLLEN *            0x0012EAE8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DAD0 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DAD0 [       4] "P\ 0"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (14)

		DIAG [01004] The buffer was too small for the GetData. (-2) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94 (-2)
		WCHAR *             0x0012E690 [      41] "The buffer was too small for the GetData."
		SWORD                      511 
		SWORD *             0x0012E684 (41)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DB8A 
		SQLLEN                    14
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DB8A [      12] "h? T\ffm"
		SQLLEN                    14
		SQLLEN *            0x0012EAE8 (12)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        4 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DB88 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        4 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DB88 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (0)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        5 
		SWORD                        7 <SQL_C_FLOAT>
		PTR                 <unknown type>
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        5 
		SWORD                        7 <SQL_C_FLOAT>
		PTR                 <unknown type>
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        6 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DC30 
		SQLLEN                     2
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        6 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DC30 [       1] "1"
		SQLLEN                     2
		SQLLEN *            0x0012EAF8 (1)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        7 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DC30 
		SQLLEN                     2
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        7 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DC30 [       1] "0"
		SQLLEN                     2
		SQLLEN *            0x0012EAF8 (1)

RestMenu        b14-34c	ENTER SQLExtendedFetch 
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC
		UWORD *             0x0035C980

RestMenu        b14-34c	EXIT  SQLExtendedFetch  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC (1)
		UWORD *             0x0035C980 (0)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DC80 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DC80 [       4] "P\ 0"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (6)

		DIAG [01004] The buffer was too small for the GetData. (-2) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94 (-2)
		WCHAR *             0x0012E690 [      41] "The buffer was too small for the GetData."
		SWORD                      511 
		SWORD *             0x0012E684 (41)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DC82 
		SQLLEN                     6
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DC82 [       4] "h?"
		SQLLEN                     6
		SQLLEN *            0x0012EAE8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DC80 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DC80 [       4] "P\ 0"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (12)

		DIAG [01004] The buffer was too small for the GetData. (-2) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94 (-2)
		WCHAR *             0x0012E690 [      41] "The buffer was too small for the GetData."
		SWORD                      511 
		SWORD *             0x0012E684 (41)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DD3A 
		SQLLEN                    12
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DD3A [      10] "h? G\ff"
		SQLLEN                    12
		SQLLEN *            0x0012EAE8 (10)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        4 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DD38 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        4 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DD38 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (0)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        5 
		SWORD                        7 <SQL_C_FLOAT>
		PTR                 <unknown type>
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        5 
		SWORD                        7 <SQL_C_FLOAT>
		PTR                 <unknown type>
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        6 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DDE0 
		SQLLEN                     2
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        6 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DDE0 [       1] "1"
		SQLLEN                     2
		SQLLEN *            0x0012EAF8 (1)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        7 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DDE0 
		SQLLEN                     2
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        7 
		SWORD                        1 <SQL_C_CHAR>
		PTR                 0x0035DDE0 [       1] "0"
		SQLLEN                     2
		SQLLEN *            0x0012EAF8 (1)

RestMenu        b14-34c	ENTER SQLExtendedFetch 
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC
		UWORD *             0x0035C980

RestMenu        b14-34c	EXIT  SQLExtendedFetch  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 <SQL_FETCH_NEXT>
		SQLLEN                     1
		SQLULEN *           0x0012EEAC (1)
		UWORD *             0x0035C980 (0)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 
		SWORD                      -16 <SQL_C_SLONG>
		PTR                  1240148
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE0 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE0 [       4] "P\ 0"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (6)

		DIAG [01004] The buffer was too small for the GetData. (-2) 

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94 (-2)
		WCHAR *             0x0012E690 [      41] "The buffer was too small for the GetData."
		SWORD                      511 
		SWORD *             0x0012E684 (41)

RestMenu        b14-34c	ENTER SQLErrorW 
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	EXIT  SQLErrorW  with return code 100 (SQL_NO_DATA_FOUND)
		HENV                00E11690
		HDBC                00E11758
		HSTMT               00E11CF8
		WCHAR *             0x0012E670 (NYI) 
 		SDWORD *            0x0012EA94
		WCHAR *             0x0012E690 
		SWORD                      511 
		SWORD *             0x0012E684

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE2 
		SQLLEN                     6
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        2 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE2 [       4] "h?"
		SQLLEN                     6
		SQLLEN *            0x0012EAE8 (4)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE0 
		SQLLEN                     4
		SQLLEN *            0x0012EAF8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE0 [       2] "p"
		SQLLEN                     4
		SQLLEN *            0x0012EAF8 (2)

RestMenu        b14-34c	ENTER SQLGetData 
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE2 
		SQLLEN                     2
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	EXIT  SQLGetData  with return code 100 (SQL_NO_DATA_FOUND)
		HSTMT               00E11CF8
		UWORD                        3 
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0035DDE2 
		SQLLEN                     2
		SQLLEN *            0x0012EAE8

RestMenu        b14-34c	ENTER SQLFreeStmt 
		HSTMT               00E11CF8
		UWORD                        1 <SQL_DROP>

RestMenu        b14-34c	EXIT  SQLFreeStmt  with return code 0 (SQL_SUCCESS)
		HSTMT               00E11CF8
		UWORD                        1 <SQL_DROP>


----------------------------------------------------------------------

>Comment By: Heikki Linnakangas (hlinnaka)
Date: 2015-01-22 09:23

Message:
This doesn't seem to be relevant anymore...

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2006-12-19 06:26

Message:
> What do you mean of "command sequence". Do you mean
> source code or SQL statements?

I meant the MFC API sequence in your source code.
Anyway I accepted another similar bug report and seem
to have found the cause.
MFC's CRecordset::GetFieldValue() seems to have a bug
in the Unicode version. There are 2 ways to correct it.

1. If the length of your text fields < 255, try to turn
   off the "Text as LongVarChar" option.
2. Please look at http://support.microsoft.com/kb/249803. 

regards,
Hiroshi Inoue 

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2006-12-18 15:09

Message:
What do you mean of "command sequence". Do you mean source code or SQL statements?

For SQL statement, all I did is SELECT * FROM Inventory;

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2006-11-24 01:53

Message:
> I use MFC (suppose to be 8.0 on VisualStudio 2005) 
> CDatabase and CRecordset to retrieve data from a postgres 
> database. When the ODBC driver retrieve the data field 
> type text that contain only 1 letter, CDBException is
> raised with return code is 100

Could you show me the main part (command sequence) of 
your program ?

regards,
Hiroshi Inoue

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000790&group_id=1000125


--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

psqlodbc-bugs | 22 Jan 14:02 2015

[psqlodbc-Bugs][1002767] Fatal exception error after running some queries

psqlodbc-Bugs item #1002767, was changed at 2015-01-22 13:02 by Andrus Moor
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1002767&group_id=1000125
Or by replying to this e-mail entering your response between the following markers: 
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here, only in plain text format)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+

Status: Closed
Priority: 3
Submitted By: Andrus Moor (kobruleht)
Assigned to: Nobody (None)
Summary: Fatal exception error after running some queries 
Category: None
Group: None
Resolution: Out of Date
Category: None
Group: None
Resolution: None

Initial Comment:
To reproduce:

Run some queries from Microsoft Visual FoxPro 9.0 SP1 against ODBC driver 
Log file containing queries and data is included.

Observed:

FoxPro crashes with access violation error.

Fatal error: Exception code=C0000005  <at>   14:23:46. Error log file: C:\eetasoft\algus\VFP9Rerr.log
	Called from -  read_events line 0  { c:\eetasoft\algus\alguss.exe}
	Called from -  alguss line 0  { c:\eetasoft\algus\alguss.exe}

Reproducible:

This is reproducible always in different computers.
I can create exact repro if required.

----------------------------------------------------------------------

Comment By: Andrus Moor (kobruleht)
Date: 2015-01-22 13:02

Message:
I verified that this issue still occurs in
09.03.0400

I occurs after some time after viewing different queries.

There are no exact steps yet.
After running application and working working with it it occurs after some time.
Re-running application and re-entering last commands does not reproduce it.
It occurs again after some time.

 I can install odbc driver with advanced logging and send log if this helps.
Using 32 bit odbc driver in Windows 7 x64

----------------------------------------------------------------------

Comment By: Heikki Linnakangas (hlinnaka)
Date: 2015-01-22 07:24

Message:
Hiroshi may have fixed this per the comment, and we have no reproducer script. Probably not an issue anymore..

----------------------------------------------------------------------

Comment By: Andrus Moor (kobruleht)
Date: 2007-04-05 19:39

Message:
This probem exists in last snapshot also. Log included.
It seems that fatal exception occurs inside closed source 
product, not inside driver.
I'm no idea how you can research this.

I created server account for you so you can try without 
installing database.

How to send logon credidentials by e-mail ?

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2007-04-04 01:33

Message:
I found a buffer overrun bug.
It may be related to your problem.

Could you try the snapshot driver ?

regards
Hiroshi Inoue

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2007-03-27 02:47

Message:
Could you send me the reproducible example ?
It would be better if it's more simpler.

regards,
Hiroshi Inoue

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1002767&group_id=1000125

--

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc


Gmane