From the MySQL Bug Report:
[15 Jun 14:28] Shane Bester
the problem seems to be that glob_buffer contains this incorrectly sprintf'd into the pointer:
sprintf((char*) glob_buffer.ptr(), "Your MySQL connection id is %lu\nServer version: %s\n", mysql_thread_id(&mysql), server_version_string(&mysql));
Now further down in the code, the is_empty() method still believes the String to be empty, but it's not.
From the MySQL Bug Report:
[15 Jun 14:28] Shane Bester
the problem seems to be that glob_buffer contains this incorrectly sprintf'd into the
pointer:
sprintf((char*) glob_buffer.ptr(), thread_ id(&mysql) , server_ version_ string( &mysql) );
"Your MySQL connection id is %lu\nServer version: %s\n",
mysql_
Now further down in the code, the is_empty() method still believes the String
to be empty, but it's not.