Regression service API for isc_spb_sts_table

                 Key: CORE-5379
             Project: Firebird Core
          Issue Type: Sub-task
          Components: API / Client Library, GSTAT
    Affects Versions: 3.0.1
            Reporter: Alexander Peshkov

Getting stats for partticular table(s) fails, this never used to happen with 
2.5.x & 3.0.0.

After upgrading to Firebird 3.0.1 a test that uses the services API to 
obtain table statistics nows fails with an exception:

unrecognized service parameter block; All services except for getting 
server log require switches [SQLState:42000, ISC error code:335544562]

This test, method 
testGetTableStatistics works fine in 3.0.0 and earlier.

The test itself is:

statManager.getTableStatistics(new String[]{"TEST"});

where getTableStatistics is:

     public void getTableStatistics(String[] tableNames) throws 
SQLException {
         // create space-separated list of tables
         StringBuilder commandLine = new StringBuilder();
         for (int i = 0; i < tableNames.length; i++) {
             if (i < tableNames.length - 1)
                 commandLine.append(' ');

         try (FbService service = attachServiceManager()) {
             ServiceRequestBuffer srb = createStatsSRB(service, 
             srb.addArgument(isc_spb_command_line, commandLine.toString());
             executeServicesOperation(service, srb);

Is the above doing something wrong (if so what?), or is this a regression?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


Check out the vibrant tech community on one of the world's most 
engaging tech sites,!
Firebird-Devel mailing list, web interface at

Reply via email to