AW: AW: Strange disconnection
Florian Bogeschdorfer
fb at memedia.de
Sat Oct 4 18:00:46 CDT 2003
WOW, now it gets really weird. I tried to add a non existing field to see
the valentinaerrorstring:
put valaddrecord("PRAEMIENtable",[#aNonExistingFieldName:"markus"])
-- 1
put valentinaerrorstring()
-- "No error"
In the log there is no entry of adding this record and the dump shows it has
not been added. Still I get no error??? Infact you see the making of the
cursor AND the flush() AFTER the addRecord()
17:44:40.252000 (4028): (388) SQL: select RecID, * from PRAEMIENtable; # of
records: 0
17:44:52.740000 (3884): (388) Flushing ' (C' database: OK
INFACT, look at this:
put valaddrecord("P",[#PRitemName:"markus"])
error 602
error 602
error 602
-- 0
put valaddrecord("KUNDENtable",[#noSuchField:"markus"])
-- 1
put valentinaerrorstring()
-- "No error"
put valaddrecord("PRAEMIENtable",[#PRitemName:"markus"])
error 10054
error 10054
error 10054
That means if I add a non-existing field I get NO error, if I do I get
disconnected...
This is the log:
17:56:22.341000 (3860): (380) ERROR #602: Table Not Found
17:56:40.898000 (3000): (380) SQL: select RecID, * from KUNDENtable; # of
records: 0
17:56:40.908000 (884): (380) Flushing ' (C' database: OK
17:57:13.174000 (3000): (380) SQL: select RecID, * from PRAEMIENtable; # of
records: 0
17:57:13.174000 (3000): Client has been suddenly disconnected (380)
17:57:13.174000 (3000): Closing connection (380)
Sorry Ruslan, but am I totally stupid now? This all worked yesterday with
a39.
I will now remove all index, null and unique flags ( I added these today)
Florian
More information about the Valentina
mailing list