Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-687

mysql database name in sql-query not encoded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • No Release
    • JBossAS-3.2.6 Final
    • CMP service
    • None

      SourceForge Submitter: colemarcus .
      When using Database Names like abc-def using this database (
      or table or field name) in the sql statement without ` arround it,
      causes a mysql query error.

      The simplest solution would be to put ` arroung every
      databasename,tablename and fieldname.

      example:
      using the database name w10222-test
      i got a show table w10222-test as 'blabla' send to the mysql
      server.

      Martin Klebermass@limtec.de

              olubyans@redhat.com Alexey Loubyansky
              sourceforge-user SourceForge legacy user (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: