| 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 | { |