Bugs item #923257, was opened at 2004-03-25 09:02
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=923257&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mapi
Group: (zombie: MonetDB 4.3.16-rc05)
>Status: Closed
Resolution: Fixed
Priority: 7
Private: No
Submitted By: Marcin Zukowski (e-r00)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: mapi_query() incorrect behaviour

Initial Comment:
mapi_query returns MapiHdl object.
I would expect it to return NULL if the query resulted in an error, but 
it seems it always returns a not-null pointer (again, documentation 
on the web is incorrect).
Hence, the only way to check if the query succeeded is to try 
mapi_error() but it's behaviour is incorrect.
In the following code:

h1 = mapi_query(conn, "ls;");
/* this call was successfull, mapi_error(conn)==0 */

h2 = mapi_query(conn, "foo?;");
/* this is an errror, mapi_error(conn)==-1 */

h3 = mapi_query(conn, "ls;");
/* this call was successfull, BUT mapi_error(conn)==-1 */

A check on mapi_error_str after h3 returns the same error string as 
after h2.


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

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-11-29 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 365 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Stefan Manegold (stmane)
Date: 2006-11-29 01:06

Message:
Logged In: YES 
user_id=572415
Originator: NO

over-ruling "sf-robot":
re-set to "Pending" since adding a proper test has neither been done nor
finally been discarded, yet.

User (submitter) & developer (assignee),
please check, again.


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

Comment By: SourceForge Robot (sf-robot)
Date: 2006-11-21 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 365 days (the time period specified by
the administrator of this Tracker).

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

Comment By: SourceForge Robot (sf-robot)
Date: 2005-11-20 19:20

Message:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Stefan Manegold (stmane)
Date: 2005-11-06 01:51

Message:
Logged In: YES 
user_id=572415

BugDay_2005-10-06: "left-overs" are now marked as "pending"


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

Comment By: Stefan Manegold (stmane)
Date: 2005-10-06 08:08

Message:
Logged In: YES 
user_id=572415

BugDay_2005-10-06: CLAIMED BY stmane

BugDay_2005-10-06: NO TEST / C-code / POSTPONED
C-code test is postponed
set priority to 9 as reminder


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

Comment By: Sjoerd Mullender (sjoerd)
Date: 2004-03-26 06:09

Message:
Logged In: YES 
user_id=43607

The bug is fixed.

If you want the documentation fixed, please submit a new
report with information on where *exactly* you found the
erroneous information.

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

Comment By: Marcin Zukowski (e-r00)
Date: 2004-03-26 05:32

Message:
Logged In: YES 
user_id=607094

I refer to last rc branch, as usual.
Thanks for creating Mapi group :)

Increased the priority since it's crucial to make PHP extension work.


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

Comment By: Stefan Manegold (stmane)
Date: 2004-03-25 12:34

Message:
Logged In: YES 
user_id=572415

Set Category to "Mapi".

Group is still open;
which version of MonetDB do you refer to, Marcin?


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=923257&group_id=56967

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to