MCPcopy Create free account
hub / github.com/MariaDB/server / init_item_int

Function init_item_int

sql/sql_union.cc:1275–1290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1273
1274
1275static bool init_item_int(THD* thd, Item_int* &item)
1276{
1277 if (!item)
1278 {
1279 item= new (thd->mem_root) Item_int(thd, 0);
1280
1281 if (!item)
1282 return true;
1283 }
1284 else
1285 {
1286 item->value= 0;
1287 }
1288
1289 return false;
1290}
1291
1292/**
1293 @brief

Callers 1

prepareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected