summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
authorunknown <kostja@dipika.(none)>2008-02-19 15:45:21 +0300
committerunknown <kostja@dipika.(none)>2008-02-19 15:45:21 +0300
commit14021c96c464406812f84bec45c5f73ac0b96e1a (patch)
tree2135e26bf3867a57e788b8bfa932c8f511ce53b4 /sql/sql_prepare.cc
parentead02981eae47130fe5d205a11336b3c00225be1 (diff)
downloadmariadb-git-14021c96c464406812f84bec45c5f73ac0b96e1a.tar.gz
Rename send_ok to my_ok. Similarly to my_error, it only records the status,
does not send it to the client.
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index 5a903a4fe1c..e03f7cfb6a0 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -2111,7 +2111,7 @@ void mysql_sql_stmt_prepare(THD *thd)
thd->stmt_map.erase(stmt);
}
else
- send_ok(thd, 0L, 0L, "Statement prepared");
+ my_ok(thd, 0L, 0L, "Statement prepared");
DBUG_VOID_RETURN;
}
@@ -2494,7 +2494,7 @@ void mysql_stmt_reset(THD *thd, char *packet)
stmt->state= Query_arena::PREPARED;
- send_ok(thd);
+ my_ok(thd);
DBUG_VOID_RETURN;
}
@@ -2557,7 +2557,7 @@ void mysql_sql_stmt_close(THD *thd)
}
if (stmt->deallocate() == 0)
- send_ok(thd);
+ my_ok(thd);
}
/**