Changeset 19116 for trunk


Ignore:
Timestamp:
07/31/18 21:09:27 (6 years ago)
Author:
tbretz
Message:
Adapted help text
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fits2sql.cc

    r19114 r19116  
    147147        "\n"
    148148        "Usually, the INSERT query would fail if the PRIMARY key exists already. "
    149         "This can be avoided using the 'ON DUPLICATE KEY' directive. With the "
     149        "This can be avoided using the 'ON DUPLICATE KEY UPDATE' directive. With the "
    150150        "--duplicate, you can specify what should be updated in case of a duplicate key. "
    151151        "To keep the row untouched, you can just update the primary key "
    152152        "with the identical primary key, e.g. --duplicate='MyPrimary=VALUES(MyPrimary)'. "
    153         "For more details, see the MySQL manual.\n"
     153        "The --duplicate resource can be specified more than once to add more expressions "
     154        "to the assignment_list. For more details, see the MySQL manual.\n"
    154155        "\n"
    155156        "Another possibility is to add the IGNORE keyword to the INSERT query by "
  • trunk/FACT++/src/root2sql.cc

    r19114 r19116  
    154154        "\n"
    155155        "Usually, the INSERT query would fail if the PRIMARY key exists already. "
    156         "This can be avoided using the 'ON DUPLICATE KEY' directive. With the "
    157         "--duplicate,you can specify what should be updated in case of a duplicate key. "
     156        "This can be avoided using the 'ON DUPLICATE KEY UPDATE' directive. With the "
     157        "--duplicate, you can specify what should be updated in case of a duplicate key. "
    158158        "To keep the row untouched, you can just update the primary key "
    159159        "with the identical primary key, e.g. --duplicate='MyPrimary=VALUES(MyPrimary)'. "
    160         "For more details, see the MySQL manual.\n"
     160        "The --duplicate resource can be specified more than once to add more expressions "
     161        "to the assignment_list. For more details, see the MySQL manual.\n"
    161162        "\n"
    162163        "For debugging purpose, or to just create or drop a table, the final insert "
Note: See TracChangeset for help on using the changeset viewer.