&error);
if (error != NULL)
{
- g_warning ("Errror creating database connection: %s\n",
+ g_warning ("Error creating database connection: %s\n",
error->message);
return NULL;
}
&error);
if (error != NULL)
{
- g_warning ("Errror creating database connection: %s\n",
+ g_warning ("Error creating database connection: %s\n",
error->message);
return NULL;
}
if (error != NULL)
{
- g_warning ("Errror executing selection query: %s\n%s\n",
+ g_warning ("Error executing selection query: %s\n%s\n",
error->message, sql);
return NULL;
}
error = NULL;
v = gda_data_model_get_value_at (data_model, col, row, &error);
- if (gda_value_is_null (v) || error != NULL)
+ if (error != NULL)
{
g_warning ("Error on retrieving field's value: %s\n",
error->message);
error = NULL;
v = gda_data_model_get_value_at (data_model, col, row, &error);
- if (gda_value_is_null (v) || error != NULL)
+ if (error != NULL)
{
g_warning ("Error on retrieving field's value: %s\n",
error->message);
error = NULL;
v = gda_data_model_get_value_at (data_model, col, row, &error);
- if (gda_value_is_null (v) || error != NULL)
+ if (error != NULL)
{
g_warning ("Error on retrieving field's value: %s\n",
error->message);
error = NULL;
v = gda_data_model_get_value_at (data_model, col, row, &error);
- if (gda_value_is_null (v) || error != NULL)
+ if (error != NULL)
{
g_warning ("Error on retrieving field's value: %s\n",
error->message);
if (error != NULL)
{
- g_warning ("Errror opening transaction: %s\n",
+ g_warning ("Error opening transaction: %s\n",
error->message);
}
if (error != NULL)
{
- g_warning ("Errror executing command query: %s\n%s\n",
+ g_warning ("Error executing command query: %s\n%s\n",
error->message, sql);
return -1;
}
if (error != NULL)
{
- g_warning ("Errror committing transaction: %s\n",
+ g_warning ("Error committing transaction: %s\n",
error->message);
ret = FALSE;
}
if (error != NULL)
{
- g_warning ("Errror rollbacking transaction: %s\n",
+ g_warning ("Error rollbacking transaction: %s\n",
error->message);
ret = FALSE;
}