Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » It is necessary BLOB field in MySQL
It is necessary BLOB field in MySQL [message #22523] Wed, 22 July 2009 09:07 Go to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

I tried to insert a BLOB field in MySQL database, but GCC wrote on the error. I checked the the MySQL schema file and not found a description of the fields BLOB.

I propose to insert a file MySqlSchema.h the following lines at the beginning.

#define BLOB(x)                    COLUMN("longblob", String, x, 0, 0)
#define BLOB_(x)                   COLUMN_("longblob", String, x, 0, 0)


And in the end.
#undef BLOB
#undef BLOB_


The resulting file in an application. I checked and it works.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: It is necessary BLOB field in MySQL [message #22543 is a reply to message #22523] Sun, 26 July 2009 03:41 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks, applied.

Mirek
Previous Topic: Needs Moved - Errors when compiling - Allocation Functions not Linking? [VS2008]
Next Topic: MSSQL binary data
Goto Forum:
  


Current Time: Tue Apr 23 14:23:15 CEST 2024

Total time taken to generate the page: 0.01972 seconds