Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-12510

not escaped characters could cause DB2 sql import to fail

XMLWordPrintable

    • Sprint 22

      If you place

      ;
      

      Inside description field of the template, and then run

      export_data.sh  -uzabbix -pzabbix zabbix ZBX_DATA > ../src/data.tmpl
      export_data.sh  -uzabbix -pzabbix zabbix ZBX_TEMPLATE > ../src/templates.tmpl
      

      and then
      make dbschema

      That would cause DB2 templates.sql fail to be imported.

      there probably should be better escaping implemented when preparing DB2 dump.

      More on this:
      https://www.ibm.com/support/knowledgecenter/en/SSEPGG_10.5.0/com.ibm.db2.luw.admin.ts.doc/doc/c0059609.html

      vso could provide more info

            Unassigned Unassigned
            vzhuravlev Vitaly Zhuravlev
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: