Search found 5 matches

by Anton7
22.04.2007, 14:35
Forum: MySQL
Topic: How to compile the libmysqld.dll from the source code?
Replies: 6
Views: 3022

Today i try to compile libmysqld.dll with "microsoft visual studio 2003", but have error: \mysql-5\sql-common\client.c(1786) : error C2373: 'cli_mysql_real_connect' : redefinition; different type modifiers ../libmysqld\client_settings.h(46) : see declaration of 'cli_mysql_real_connect'
by Anton7
21.04.2007, 17:05
Forum: MySQL
Topic: How to compile the libmysqld.dll from the source code?
Replies: 6
Views: 3022

How to compile the libmysqld.dll from the source code?

I have problems with the embedded mysql server, the some stored procedures does not executing. But this stored procedures executing normally on simple mysql-server. I want to try to compile libmysqld.dll from a new source code. How i can do this with "microsoft visual studio 2005"? p.s. So...
by Anton7
23.11.2006, 23:55
Forum: User Contributions
Topic: Problem with BLOB fields
Replies: 3
Views: 3828

Sorry, i could not answer earlier.
Only this code workes correctly:

Code: Select all

((TBlobField*)Form2->ZQ2->FieldByName("Question"))->LoadFromStream(str1);
by Anton7
05.11.2006, 14:03
Forum: User Contributions
Topic: Problem with BLOB fields
Replies: 3
Views: 3828

Problem with BLOB fields

How i can insert data in blob field? next code doesn`t work correct: TStream *Stream2; Form2->ZQ2->Insert(); Stream2 = Form2->ZQ2->CreateBlobStream(Form2->ZQ2->FieldByName("Question"), bmWrite); Form2->ZQ2->FieldByName("Question_id")->AsInteger=a; Stream2->Write("lalalala&qu...
by Anton7
09.10.2006, 20:20
Forum: User Contributions
Topic: [bug_fixed] MySQL Embedded Server Arguments
Replies: 12
Views: 7116

I can not install pached zeoslib and zeoslib.Rev102 on bcb6, [Pascal Error] ZPlainMySqlDriver.pas(961): Undeclared identifier: 'ValueFromIndex' :( p.s. i have changed a string " TmpList.Add(Options.ValueFromIndex ); " to " TmpList.Add(Options.Values[Options.Names ]); ". Is it cor...