Lines 6458-6464
gda_connection_add_prepared_statement (GdaConnection *cnc, GdaStatement *gda_stm
Link Here
|
6458 |
|
6458 |
|
6459 |
if (!cnc->priv->prepared_stmts) |
6459 |
if (!cnc->priv->prepared_stmts) |
6460 |
cnc->priv->prepared_stmts = g_hash_table_new_full (g_direct_hash, g_direct_equal, |
6460 |
cnc->priv->prepared_stmts = g_hash_table_new_full (g_direct_hash, g_direct_equal, |
6461 |
NULL, _gda_prepared_estatement_free); |
6461 |
NULL, (GDestroyNotify)_gda_prepared_estatement_free); |
6462 |
g_hash_table_remove (cnc->priv->prepared_stmts, gda_stmt); |
6462 |
g_hash_table_remove (cnc->priv->prepared_stmts, gda_stmt); |
6463 |
PreparedStatementRef *ref = _gda_prepared_estatement_new (gda_stmt, prepared_stmt); |
6463 |
PreparedStatementRef *ref = _gda_prepared_estatement_new (gda_stmt, prepared_stmt); |
6464 |
g_hash_table_insert (cnc->priv->prepared_stmts, gda_stmt, ref); |
6464 |
g_hash_table_insert (cnc->priv->prepared_stmts, gda_stmt, ref); |