Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/mysqlfunctions.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2493 by niro, Thu Sep 10 13:03:45 2015 UTC revision 2494 by niro, Thu Sep 10 13:45:02 2015 UTC
# Line 241  mysql_insert() Line 241  mysql_insert()
241   done   done
242   IFS=${OLD_IFS}   IFS=${OLD_IFS}
243    
244   echo "INSERT INTO ${table} (${insert_keys}) VALUES(${insert_values}) ON DUPLICATE KEY UPDATE ${update_line};"   decho "INSERT INTO ${table} (${insert_keys}) VALUES(${insert_values}) ON DUPLICATE KEY UPDATE ${update_line};"
245   mysqldo "insert into ${table} (${insert_keys}) values(${insert_values}) on duplicate key update ${update_line};"   mysqldo "insert into ${table} (${insert_keys}) values(${insert_values}) on duplicate key update ${update_line};"
246  }  }

Legend:
Removed from v.2493  
changed lines
  Added in v.2494