• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • wxCode - wxWidgets components
  • Bugs

wxARG 1.2.0-rc3 Error when loading BLOB fields

Brought to you by: frm, jrl1, utelle
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Bugs
    • Feature Requests
    • Patches
  • News
  • Code
  • Cvs
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • CVS_HEAD
  • last_released_version
  • Subversion_TRUNK

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#38 wxARG 1.2.0-rc3 Error when loading BLOB fields

open
Matías Szeftel
wxARG (3)
5
2012-12-15
2007-05-08
Anonymous
No

I create a table:

id - integer
sometext - varchar,
binarydata - blob

and wxARG generates the source code which calls DatabaseResultSet::GetResultBlob and passes a single parameter to it (field name), however DatabaseResultSet::GetResultBlob should have 2 parameters and that's why I get an error during compilation of my project.

Also one more thing. As far as I can understand from documentation, tehere is some difference between data types TEXT and BLOB in SQLite (I'm not sure about other servers.. I'll try to find more info regarding this point), and BLOB fields can contain binary data, but wxARG generates a member of wxActiveRecordRow-derived class (in my case it is TestRow class) whose type is wxString. Is it possible to change the data type of class members for BLOB fields to wxMemoryBuffer or maybe add some option to wxARG which should allow to change the data type for BLOB and/or TEXT fields? This would be helpful when storing/loading binary files to/from database.

I also attached the source code of my test project.

Regards,
T-Rex

PS: Many thanks for solving the previous bug of 1.2.0-rc2.

Discussion

  • Nobody/Anonymous

    Nobody/Anonymous - 2007-05-08
     
    wxSQLiteDBLayerTest.rar
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×