更新不重要的信息
This commit is contained in:
@@ -48,7 +48,7 @@ if(MSVC)
|
|||||||
${FASTWEB}/include/lua
|
${FASTWEB}/include/lua
|
||||||
)
|
)
|
||||||
add_definitions(/bigobj)
|
add_definitions(/bigobj)
|
||||||
set(MYSQL_CPP_LIB_DIR "$ENV{USERPROFILE}/MySQL/MySQL Connector C++ 8.2.0/lib64")
|
set(MYSQL_CPP_LIB_DIR "D:/code/3rdparty/mysql-connector-c++-8.0.33/lib64")
|
||||||
else()
|
else()
|
||||||
include_directories(
|
include_directories(
|
||||||
/usr/local/include/ylib
|
/usr/local/include/ylib
|
||||||
@@ -72,7 +72,7 @@ if(MSVC)
|
|||||||
WS2_32.lib
|
WS2_32.lib
|
||||||
Shell32.lib
|
Shell32.lib
|
||||||
|
|
||||||
${YLIB}/lib/libcrypto_static_win64.lib
|
D:/code/lib/OpenSSL-Win64/lib/libcrypto_static.lib
|
||||||
$<$<CONFIG:Debug>:${FASTWEB}/bin/debug/3rdparty/lib/lua.lib>
|
$<$<CONFIG:Debug>:${FASTWEB}/bin/debug/3rdparty/lib/lua.lib>
|
||||||
|
|
||||||
$<$<CONFIG:Debug>:>
|
$<$<CONFIG:Debug>:>
|
||||||
@@ -81,7 +81,7 @@ if(MSVC)
|
|||||||
|
|
||||||
$<$<CONFIG:Release>:${FASTWEB}/bin/release/3rdparty/lib/lua.lib>
|
$<$<CONFIG:Release>:${FASTWEB}/bin/release/3rdparty/lib/lua.lib>
|
||||||
$<$<CONFIG:Release>:${YLIB}/lib/ylib.lib>
|
$<$<CONFIG:Release>:${YLIB}/lib/ylib.lib>
|
||||||
$<$<CONFIG:Release>:${MYSQL_CPP_LIB_DIR}/vs14/mysqlcppconn.lib>
|
$<$<CONFIG:Release>:${MYSQL_CPP_LIB_DIR}/vs14/debug/mysqlcppconn.lib>
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(${MODULE_NAME}
|
target_link_libraries(${MODULE_NAME}
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ function mysql_conn.new(__module)
|
|||||||
else
|
else
|
||||||
instance.module = __module
|
instance.module = __module
|
||||||
end
|
end
|
||||||
print("M:",instance.module)
|
|
||||||
return instance
|
return instance
|
||||||
end
|
end
|
||||||
--[[
|
--[[
|
||||||
|
|||||||
@@ -50,13 +50,7 @@ end
|
|||||||
@return 返回一个 select 对象
|
@return 返回一个 select 对象
|
||||||
]]
|
]]
|
||||||
function mysql_pool:select()
|
function mysql_pool:select()
|
||||||
print("SELECT_DEBUG_0:")
|
return select.new(self.module:select())
|
||||||
local s = self.module:select()
|
|
||||||
print("SELECT_DEBUG_1:",s)
|
|
||||||
local s2 = select.new(s)
|
|
||||||
print("SELECT_DEBUG_2:",s2)
|
|
||||||
return s2
|
|
||||||
--return self.module:select()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|||||||
Reference in New Issue
Block a user