Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

is such a bug possible ? (no replies)

$
0
0
I'm encountering this TERRRIBLE bug, that I discovered fortunately before setting the application online.

I have two simple lines like these (FW 4.0, connector 6.3.5):

lastupdate l = (from c in GV.EntityPer.lastupdate
select c).First();

MessageBox.Show(l.version.ToString ());

It reads ALWAYS the same value for l.version, even if another client change that, or I change the same value directly into Mysql server.
'Lastupdate' is a table with a row only.
'version' is an Int32.
Only restarting the application it can read the real value.

This is really something to be scared of. No error, no exception, just an old, false,misrouting value, like it was cached by the software. What if it was a money field, not reading an update...just don't think.
Has anybody seen something like that ? Should I keep on using mysql connectors if such surprises can arise............
Thanks Saverio

Viewing all articles
Browse latest Browse all 1447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>