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

Method random

storage/oqgraph/graphcore.cc:1054–1064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052 }
1053
1054 int oqgraph::random(bool scan) throw()
1055 {
1056 if (scan || !cursor)
1057 {
1058 delete cursor; cursor= 0;
1059 if (!(cursor= new (std::nothrow) edges_cursor(share)))
1060 return MISC_FAIL;
1061 }
1062 row_info= empty_row;
1063 return OK;
1064 }
1065
1066 void oqgraph::free(oqgraph *graph) throw()
1067 {

Callers 3

mainMethod · 0.80
mainMethod · 0.80
rnd_initMethod · 0.80

Calls

no outgoing calls

Tested by 2

mainMethod · 0.64
mainMethod · 0.64