3880411 Repl Session API needs to check for NULL api before init

Authored and Committed by rmeggins 14 years ago
    Repl Session API needs to check for NULL api before init
    
    The new repl sesssion API will crash when adding a replication agreement.
    It should check to see if there is a repl session api before attempting
    to get the init function.
    Reviewed by: nhosoi
    Branch: HEAD
    Platforms tested: RHEL5 x86_64