Lines with zero coverage (172/6309): ===File include/my_base.h: 720 : + default: DBUG_ASSERT(0); return 0; ===File mysys/my_compare.c: 269 : + case HA_KEYTYPE_VARTEXT4: 274 : + DBUG_ASSERT(!(nextflag & SEARCH_PREFIX)); 276 : + a_length= uint4korr(a); 277 : + b_length= uint4korr(b); 278 : + memcpy(&a_key, a, sizeof(char*)); 279 : + memcpy(&b_key, b, sizeof(char*)); 280 : + if (piks && 281 : + (flag= ha_compare_char_varying(keyseg->charset, 284 : + return ((keyseg->flag & HA_REVERSE_SORT) ? -flag : flag); 285 : + a+= 4 + portable_sizeof_char_ptr; 286 : + b+= 4 + portable_sizeof_char_ptr; 287 : + break; 289 : + case HA_KEYTYPE_VARBINARY4: 294 : + DBUG_ASSERT(!(nextflag & SEARCH_PREFIX)); 296 : + a_length= uint4korr(a); 297 : + b_length= uint4korr(b); 298 : + memcpy(&a_key, a, sizeof(char*)); 299 : + memcpy(&b_key, b, sizeof(char*)); 300 : + if (piks && 301 : + (flag= compare_bin(a_key, a_length, b_key, b_length, 0, 0))) 302 : + return ((keyseg->flag & HA_REVERSE_SORT) ? -flag : flag); 303 : + a+= 4 + portable_sizeof_char_ptr; 304 : + b+= 4 + portable_sizeof_char_ptr; 305 : + break; ===File sql/field.cc: 8506 : + res= new (root) Field_blob(ptr, null_ptr, null_bit, Field::NONE, 8507 : + &field_name, 8508 : + new_table->s, packlength, charset()); 8865 : + goto oom_error; 8870 : +oom_error: 8871 : + reset(); 8872 : + return -1; 8948 : + reset(); 9501 : +void Field_blob_key::set_key_image(const uchar *data,uint length) 9503 : + store_length(length); 9504 : + memcpy(ptr+packlength, &data, sizeof(char*)); 9505 : +} 9508 : +int Field_blob_key::key_cmp(const uchar *key_ptr, uint max_key_length) const 9511 : + uint32 blob_length= get_length(ptr); 9512 : + memcpy(&blob1, ptr + packlength, sizeof(char*)); 9513 : + return Field_blob_key::cmp(blob1, (uint32) blob_length, 9514 : + key_ptr + 4, uint4korr(key_ptr)); 9517 : +int Field_blob_key::key_cmp(const uchar *a,const uchar *b) const 9519 : + return Field_blob_key::cmp(a + 4, uint4korr(a), b+ 4, uint4korr(b)); ===File sql/field.h: 4813 : + uint get_key_image(uchar *buff, uint length, 4817 : + DBUG_ASSERT(0); 4818 : + return 0; ===File sql/item_sum.cc: 1023 : + return TRUE; ===File sql/sql_derived.cc: 890 : + thd->create_tmp_table_for_derived= FALSE; 891 : + goto exit; ===File sql/sql_select.cc: 21446 : + m_using_unique_constraint= true; 21447 : + break; 24911 : + return -1; 24916 : + table->file->print_error(error, MYF(0)); 24917 : + return -1; 24932 : + table->file->print_error(error, MYF(0)); 24933 : + return -1; 24982 : + DBUG_RETURN(NESTED_LOOP_ERROR); 25068 : + if (convert_heap_to_aria_update(join, join_tab, table, error)) 25069 : + DBUG_RETURN(NESTED_LOOP_ERROR); 25070 : + rnd_inited= true; ===File sql/sql_show.cc: 9103 : + DBUG_ASSERT(0); // Field not found ===File sql/sql_type.h: 7131 : + return varstring_type_handler(item, 0); 7164 : + return varstring_type_handler(item, 0); 7270 : + return blob_type_handler(item, 0); ===File sql/sql_update.cc: 2434 : + DBUG_RETURN(1); ===File storage/heap/_check.c: 45 : + ulong records=0, deleted=0, cont_count=0, pos, next_block; 71 : + if (next_block >= share->total_records+share->deleted) 73 : + next_block= share->total_records+share->deleted; 82 : + else if (hp_is_cont(current_ptr, share->visible)) 88 : + if (hp_is_single_rec(current_ptr, share->visible)) 90 : + cont_count++; 94 : + uint16 run_rec_count= hp_cont_rec_count(current_ptr); 95 : + cont_count+= run_rec_count; 96 : + pos+= run_rec_count - 1; /* -1 because for-loop does pos++ */ 110 : + if (records + cont_count != share->total_records) 112 : + DBUG_PRINT("error",("total_records mismatch: primary %lu + cont %lu != %lu", 115 : + error= 1; ===File storage/heap/ha_heap.cc: 790 : + my_free(keydef); 791 : + return my_errno; 949 : + DBUG_RETURN(-1); 961 : + result= -1; /* my_errno is set to HA_ERR_OUT_OF_MEM */ 962 : + break; 972 : + memcpy(record, input_copy, (size_t) share->reclength); ===File storage/heap/hp_blob.c: 790 : + DBUG_RETURN(my_errno= HA_ERR_OUT_OF_MEM); 865 : + return chain; 880 : + return NULL; 906 : + DBUG_VOID_RETURN; 914 : + continue; ===File storage/heap/hp_hash.c: 501 : + return 1; 638 : + return 1; 646 : + return 1; 652 : + return 1; ===File storage/heap/hp_open.c: 57 : + share->open_count--; 58 : + my_free(info); 59 : + DBUG_RETURN(0); ===File storage/heap/hp_rfirst.c: 42 : + DBUG_RETURN(my_errno); ===File storage/heap/hp_rkey.c: 74 : + DBUG_RETURN(my_errno); ===File storage/heap/hp_rlast.c: 42 : + DBUG_RETURN(my_errno); ===File storage/heap/hp_rnext.c: 131 : + DBUG_RETURN(my_errno); ===File storage/heap/hp_rprev.c: 98 : + DBUG_RETURN(my_errno); ===File storage/heap/hp_rrnd.c: 48 : + DBUG_RETURN(my_errno); ===File storage/heap/hp_rsame.c: 52 : + if (share->blob_count && hp_read_blobs(info, record, info->current_ptr)) 53 : + DBUG_RETURN(my_errno); ===File storage/heap/hp_test_concurrent-t.c: 59 : + int4store(key, id); 60 : + if (heap_rkey(info, rec, 0, key, 4, HA_READ_KEY_EXACT) == 0) 62 : + heap_delete(info, rec); 63 : + hp_flush_pending_blob_free(info); 65 : + pthread_mutex_unlock(&table_mutex); 66 : + continue; 96 : + ok(0, "setup failed"); 97 : + return exit_status(); 103 : + ok(0, "second open failed"); 104 : + heap_close(info1); 105 : + return exit_status(); ===File storage/heap/hp_test_freelist-t.c: 50 : + ok(0, "setup failed: %d", my_errno); 51 : + skip(10, "setup failed"); 52 : + return; 137 : + ok(0, "setup failed: %d", my_errno); 138 : + skip(12, "setup failed"); 139 : + return; 204 : + ok(0, "setup failed: %d", my_errno); 205 : + skip(8, "setup failed"); 206 : + return; 216 : + break; 313 : + ok(0, "setup failed: %d", my_errno); 314 : + skip(4, "setup failed"); 315 : + return; 325 : + break; 385 : + ok(0, "setup failed: %d", my_errno); 386 : + skip(8, "setup failed"); 387 : + return; 397 : + break; 476 : + ok(0, "setup failed: %d", my_errno); 477 : + skip(8, "setup failed"); 478 : + return; 488 : + break; 579 : + ok(0, "setup failed: %d", my_errno); 580 : + skip(8, "setup failed"); 581 : + return; 591 : + break; 674 : + ok(0, "setup failed: %d", my_errno); 675 : + skip(13, "setup failed"); 676 : + return; 686 : + break; 729 : + break; ===File storage/heap/hp_test_hash-t.c: 783 : + rec[MIX_NULL_OFFSET] |= 4; 785 : + rec[MIX_NULL_OFFSET] |= 8; 921 : + case 2: 922 : + int2store(rec + REC_BLOB_OFFSET, blob_len); 923 : + break; ===File storage/heap/hp_test_helpers.h: 79 : + return 1; 82 : + return 1; ===File storage/heap/hp_test_key_setup-t.cc: 241 : + kpi.store_length+= HA_KEY_NULL_LENGTH; 490 : + any_blob= TRUE; ===File storage/heap/hp_test_scan-t.c: 37 : + ok(0, "setup failed: %d", my_errno); 38 : + skip(5, "setup failed"); 39 : + return; 58 : + got_record_deleted= TRUE; 62 : + break; 99 : + ok(0, "setup failed: %d", my_errno); 100 : + skip(5, "setup failed"); 101 : + return; 133 : + break; 189 : + ok(0, "setup failed: %d", my_errno); 190 : + skip(4, "setup failed"); 191 : + return; 196 : + ok(0, "open failed: %d", my_errno); 197 : + skip(4, "open failed"); 198 : + return; 228 : + break; ===File storage/heap/hp_write.c: 214 : + DBUG_RETURN(NULL);