diff options
author | Siri Hansen <[email protected]> | 2011-11-01 12:32:38 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2011-11-17 16:49:14 +0100 |
commit | aef75ca63752f65299e95c12b67870f1debea7ff (patch) | |
tree | 2885cdd70e92de197118b2a5292c6b45841a1e1e /lib/sasl/examples/src | |
parent | 93495eaf90e4ea862a9ea1c5df2d4cb6b8a413eb (diff) | |
download | otp-aef75ca63752f65299e95c12b67870f1debea7ff.tar.gz otp-aef75ca63752f65299e95c12b67870f1debea7ff.tar.bz2 otp-aef75ca63752f65299e95c12b67870f1debea7ff.zip |
Handle upgrade from pre R15 to post R15 sasl
New emulator upgrade mechanism introduced in R15 can only work if the
sasl version to upgrade from is 2.2 or later. I.e. if we are already
running at least R15.
This commit adds backwards compatiblity for upgrades from earlier
versions, meaning that the new code is loaded into the old emulator
and code_change is executed - then after all application code is
updated, the emulator is restarted with the new erts version.
Note that this might cause problems if the new code is compiled with
the new emulator and there have been updates to the beam format. If
this happens, the workaround is to compile the new code with the old
emulator.
Diffstat (limited to 'lib/sasl/examples/src')
0 files changed, 0 insertions, 0 deletions