Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10553

TSQLStatement::GetBinary is not consistently implemented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: master, 6.20/00, 6.18/04
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Environment:

      Linux 64bit

    • Development:

      Description

      TSQLStatement has 5 implementations:

      mysql, oracle, odbc, pgsql, sqlite

      First three (implemented by me) use internal buffer management to allocate buffers

      for result returned by TSQLStatement::GetBinary().

      Last two implementations require, that users call delete[] buf after using buffer.

      Question - should we keep as i?

      Means TSQLStatement API is not usable for that binary data

       

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              slinev Serguei Linev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: