Changeset 109


Ignore:
Timestamp:
Jan 20, 2010, 3:35:00 PM (15 years ago)
Author:
jazz
Message:
  • 由於欄位預設值為 NULL 故改以 IS NULL 作為判斷式
File:
1 edited

Legend:

Unmodified
Added
Removed
  • hadoop-register/check_activate_code.php

    r104 r109  
    3434      $str = sprintf("SELECT `hadoop_user` , `hadoop_password`
    3535          FROM `%s`
    36           WHERE `hadoop_owner` LIKE ''
     36          WHERE `hadoop_owner` IS NULL
    3737          LIMIT 1 ",$mysql_table_owner );
    3838      $result = mysql_query($str, $link) or die(mysql_error() );
Note: See TracChangeset for help on using the changeset viewer.