[GENERAL] ADO.NET ExecuteReader returns no rows

2006-03-24 Thread roman . motyka
Hello, Someitmes ExectueReader doesn't return rows, if I repeat the method it does!! I've got code like that: using (NpgsqlDataReader readFrames = command.ExecuteReader()) { if (!readFrames.HasRows) {

Re: [GENERAL] ADO.NET ExecuteReader returns no rows

2006-03-24 Thread roman . motyka
I've compared Debug log between correct and wrong activity: Good activity: 2006-03-24 16:30:36 2632Debug String written: select * from getvideodata(2::int4, 1::int4, '2006-03-24 16:30:31.40'::timestamp, 1::int4) AS (idvideodate timestamp, mediabinary bytea). 2006-03-24 16:30:36