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

Function check_result_code

strings/decimal.c:2599–2606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2597
2598
2599void check_result_code(int actual, int want)
2600{
2601 if (actual != want)
2602 {
2603 printf("\n^^^^^^^^^^^^^ must return %d\n", want);
2604 exit(1);
2605 }
2606}
2607
2608
2609void print_decimal(decimal_t *d, const char *orig, int actual, int want)

Callers 7

print_decimalFunction · 0.85
test_d2fFunction · 0.85
test_d2ullFunction · 0.85
test_d2llFunction · 0.85
test_dvFunction · 0.85
test_mdFunction · 0.85
test_prFunction · 0.85

Calls

no outgoing calls

Tested by 6

test_d2fFunction · 0.68
test_d2ullFunction · 0.68
test_d2llFunction · 0.68
test_dvFunction · 0.68
test_mdFunction · 0.68
test_prFunction · 0.68