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  |
|
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.
The resulting file in an application. I checked and it works.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
Goto Forum:
Current Time: Sun Apr 27 23:47:03 CEST 2025
Total time taken to generate the page: 0.00670 seconds
|