* Konstantin Osipov [09/02/05 03:35]:
> > People are using MySQL because it's different and can satisfy their
> > needs. Standards are useful, but not important for our current or
> > future users. Getting the job done and not having downtime, even when
> > upgrad
* Michael Widenius [09/02/03 19:24]:
> Konstantin> Monty, I disagree with this statement. Our current users use the
> Konstantin> current versions of the server. It's a separate question of what
> Konstantin> support we're willing to give them and for how long.
> Konstantin> In the new versions w
* Michael Widenius [09/01/30 14:53]:
> Its more important that we don't break things for current users than
> try to be concerned about possible wrong usage that no one seams to do
> or find important enough to complain about.
Monty, I disagree with this statement. Our current users use the
curr
- on
the SQL layer and on the storage layer.
If instead of mysql_stmt_send_long_data you use the text protocol
and simply encode the LOB in the query text with
mysql_real_escape_string, you get one more copy - in the text of
the query itself, which is also kept in memory.
--
-- Konstantin Osipo
send your questions to
> [EMAIL PROTECTED] instead of directly to me; I do get +300 emails
> per day and I simple don't have time to answer all questions direct to
> me :(
Sorry && thank you.
--
WBW, Konstantin Osipov
--
Hi!
Is this code buggy?
...
mysql_res = mysql_store_result(mysql);
if (mysql_errno(mysql) == 0 && mysql_num_rows(mysql_res) > 2 &&
mysql_num_fields(mysql_res) > 2)
{
MYSQL_ROW row1 = mysql_fetch_row(mysql_res); // can i fetch several rows
and then work with them?
MYSQL_ROW row2 = mysql_
Hi All!
Is this code buggy?
--
MYSQL* mysql = new MYSQL;
mysql_init(mysql);
mysql_real_connect(mysql, "localhost");
/* some work*/
mysql_close(mysql);
mysql_real_connect(mysql, "otherhost");
/* some work*/
mysql_close(mysql);
delete mysql;
--
In other words, if struct MYSQL allocated manually,