mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Typo in comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1483044 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -377,7 +377,7 @@ int lua_db_prepared_select(lua_State *L)
|
|||||||
st = (lua_db_prepared_statement*) lua_topointer(L, -1);
|
st = (lua_db_prepared_statement*) lua_topointer(L, -1);
|
||||||
|
|
||||||
/* Check if we got enough variables passed on to us.
|
/* Check if we got enough variables passed on to us.
|
||||||
* This, of course, only works for prepped statements made through lua. */
|
* This, of course, only works for prepared statements made through lua. */
|
||||||
have = lua_gettop(L) - 2;
|
have = lua_gettop(L) - 2;
|
||||||
if (st->variables != -1 && have < st->variables ) {
|
if (st->variables != -1 && have < st->variables ) {
|
||||||
lua_pushboolean(L, 0);
|
lua_pushboolean(L, 0);
|
||||||
@@ -468,7 +468,7 @@ int lua_db_prepared_query(lua_State *L)
|
|||||||
st = (lua_db_prepared_statement*) lua_topointer(L, -1);
|
st = (lua_db_prepared_statement*) lua_topointer(L, -1);
|
||||||
|
|
||||||
/* Check if we got enough variables passed on to us.
|
/* Check if we got enough variables passed on to us.
|
||||||
* This, of course, only works for prepped statements made through lua. */
|
* This, of course, only works for prepared statements made through lua. */
|
||||||
have = lua_gettop(L) - 2;
|
have = lua_gettop(L) - 2;
|
||||||
if (st->variables != -1 && have < st->variables ) {
|
if (st->variables != -1 && have < st->variables ) {
|
||||||
lua_pushboolean(L, 0);
|
lua_pushboolean(L, 0);
|
||||||
|
Reference in New Issue
Block a user