Problems with PROC: Connect statement modifying local variable

From: Dirk Jablonski <dj_at_insos.com>
Date: Tue, 07 Nov 2000 09:40:03 +0100
Message-ID: <3A07BFE3.421FA4B_at_insos.com>


Hi!

I've got a lot of trouble with PROC (Precompiler C) under Solaris 2.6 / 7 and Oracle 8.1.6.
Let me first describe what happens:

    [Quoted]
  1. I fill a 'struct tm' named myTime variable with my own values
  2. I call EXEC SQL CONNECT :username IDENTIFIED BY :password;

After the connect statement, the contents of myTime have changed. Can anybody tell me why?
This struct has NOTHING to do with the database...

Greetings

Dirk Jablonski

-- 
i n s o s   G m b H                            www.insos.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
internet software services - spaldingstr. 77 - 20097 hamburg
Dirk Jablonski - Softwareentwickler
mail: dj_at_insos.com      -     tel +49(0)40 41363-0 -fax -333
Received on Tue Nov 07 2000 - 09:40:03 CET

Original text of this message