<commit_before>drop procedure if exists get_flag_temp_password;
delimiter $$
create procedure get_flag_temp_password(i_user_name varchar(32))
main_sql:
  begin
     select u.is_password_temp from users u where u.user_name = i_user_name;
  end
$$
delimiter ;
call save_routine_information('get_flag_temp_password', concat_ws(',', 'is_password_temp varchar'));
<commit_msg>get_flag_temp_password returns N even for non-existing users<commit_after>drop procedure if exists get_flag_temp_password;
delimiter $$
create procedure get_flag_temp_password(i_user_name varchar(32))
main_sql:
  begin
  	 declare v_is_password_temp varchar(1);
  
     select u.is_password_temp from users u where u.user_name = i_user_name into v_is_password_temp;
     
     select coalesce(v_is_password_temp, 'N') is_password_temp from dual;
  end
$$
delimiter ;
call save_routine_information('get_flag_temp_password', concat_ws(',', 'is_password_temp varchar'));

{'fraction_non_alphanumeric': 0.07880724174653887, 'fraction_numerical': 0.005324813631522897, 'mean_word_length': 6.768595041322314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7143385', 'n_tokens_mistral': 315, 'n_tokens_neox': 306, 'n_words': 71}