allocator_result.cc

来自「有关MYSQL的开源码」· CC 代码 · 共 22 行

CC
22
字号
#include "mysqlcppapi/query_results/Allocator_Result.h"namespace mysqlcppapi{Allocator_Result::cpointer Allocator_Result::allocate(){  //Can only be allocated by a specific query.  return 0; }void Allocator_Result::deallocate(cpointer pInstance){  ::mysql_free_result(pInstance); //TODO: error handling?}} //namespace

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?