Raised This Month: $51 Target: $400
 12% 

[REQ] new SQLx native SQL_Rewind


  
 
 
Thread Tools Display Modes
Author Message
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 12-21-2006 , 00:07   [REQ] new SQLx native SQL_Rewind
#1

New native for SQLx SQL_Rewind(Handle:query). What it does is reset the query pointer to its original state after the query was executed.

Good for debugging purposes.

A note to add to the funcwiki:
Be careful using this with loops if you rewind it and keep reading it you could end up with an infinite loop.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 01-02-2007 , 22:17   Re: [REQ] new SQLx native SQL_Rewind
#2

I knew that this wouldn't be looked at until 1.77 (around March?), so I went ahead and did this one on my own.

I have a zip file attached that has the source, windows dll, and the sqlx.inc file.

[Edit] Fixed a bug where it wouldn't work with threaded queries. All good now.
Attached Files
File Type: zip mysqlx.zip (1.14 MB, 159 views)

Last edited by Xanimos; 01-08-2007 at 21:45.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode